Ridealist commited on
Commit
baa5cb8
1 Parent(s): bd65f9a

feat: create setting module

Browse files
Files changed (1) hide show
  1. modules/setting_modules.py +9 -0
modules/setting_modules.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import sys, os
2
+
3
+ # Disable
4
+ def blockPrint():
5
+ sys.stdout = open(os.devnull, 'w')
6
+
7
+ # Restore
8
+ def enablePrint():
9
+ sys.stdout = sys.__stdout__