Update config.py, system.py, and 5 more files...
This commit is contained in:
1 parent
44c61a4da5
commit
700492ca5f
7 files changed
+41
No files matched your search
@@ -0,0 +1 @@
|
||||
debug=0
|
||||
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
import platform
|
||||
|
||||
def clear_console():
|
||||
"""Очистить консоль в зависимости от операционной системы."""
|
||||
os_name = platform.system()
|
||||
if os_name == 'Windows':
|
||||
os.system('cls')
|
||||
else:
|
||||
os.system('clear')
|
||||
Reference in new issue
Block a user