Hi, all.
I am trying to clear the console window without using the "os" library.
This seems like the only way to do it:
from os import system
import time
print "I will clear the screen in 2 seconds"
time.sleep(2)
system("cls")
print "*Cleared Screen*"
SystemExit()
But the problem is, this only works for Windows, so if I wanted to do it for linux i must change line 5 to system("clear")
any way it could work for all operating systems without using os
?