moved from subprocess to os
parent
6391958e86
commit
e9b655e46e
|
|
@ -1,6 +1,5 @@
|
||||||
import os
|
import os
|
||||||
import subprocess
|
|
||||||
|
|
||||||
|
|
||||||
def clear():
|
def clear():
|
||||||
subprocess.call('clear' if os.name == 'posix' else 'cls')
|
os.system('cls' if os.name == 'nt' else 'clear')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue