Reputation: 1
I'm working on a project where you can be transported to an instructions page.
I am using a site called tutorialspoint and I am on Windows 10.
I need to be able the clear the terminal for a project, Is there a way to?
I tried a few commands like os.execute("clear") but it didn't work.
Upvotes: 0
Views: 85
Reputation: 9
If you use Windows:
os.execute("cls")
On Unix:
os.execute("clear")
but I do recommend you read it: post
Upvotes: 0