0
How do i clear screen in PYTHON ?
3 Respostas
+ 3
First you need to import os.
Then, depending on the OS, you either use os.system('clear') for Linux and Mac OS or os.system('cls') for Windows. Using cls with Linux or clear with Windows will result in an error.
So you need to check for the OS too => https://stackoverflow.com/questions/1854/JUMP_LINK__&&__python__&&__JUMP_LINK-what-os-am-i-running-on
0
Anna for android what I need to do