added platform independent screen clear function
parent
c6716a3029
commit
ae1304e929
|
|
@ -0,0 +1,6 @@
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
|
||||
def clear():
|
||||
subprocess.call('clear' if os.name == 'posix' else 'cls')
|
||||
Loading…
Reference in New Issue