DEBO-V1 / modules /setting_modules.py
Ridealist's picture
feat: create setting module
baa5cb8
raw
history blame contribute delete
145 Bytes
import sys, os
# Disable
def blockPrint():
sys.stdout = open(os.devnull, 'w')
# Restore
def enablePrint():
sys.stdout = sys.__stdout__