moved from subprocess to os

main
Calum Andrew Morrell 2024-08-28 00:28:44 +01:00
parent 6391958e86
commit e9b655e46e
1 changed files with 1 additions and 2 deletions

View File

@ -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')