INNER CODE UNIT · Python
Clear
loxy0devlp/RedTiger-Tools · Config/Utils.py:136
def Clear():
if os_name == "Windows": subprocess.run("cls", shell=True)
elif os_name == "Linux": subprocess.run("clear", shell=True)
def Start():
if os_name == "Windows": subprocess.run(['python', path_file_tool])
elif os_name == "Linux": subprocess.run(['python3', path_file_tool])
def Reset():
if version_interface and not has_cli_args: Start()
else: sys.exit(0)
def Slow(text):
if not version_decorated or not version_interface or has_cli_args: print(text)
else:
for ligne in text.split('\n'):
print(ligne)
time.sleep(0.03)