0

How to perform clear screen in python?

25th Feb 2020, 10:36 AM
Ujjwal Pratap Singh
Ujjwal Pratap Singh - avatar
3 Respostas
+ 1
cls is the command that is being run in the console. It means clear screen I'm pretty sure.
26th Feb 2020, 6:07 AM
coddy
coddy - avatar
0
There is a command in python to clear the screen. To run the command you need to use os. This should work: import os clear = lambda: os.system('cls') clear()
25th Feb 2020, 10:46 AM
coddy
coddy - avatar
0
what does 'cls' mean please?
25th Feb 2020, 4:02 PM
Othmane DAHI
Othmane DAHI - avatar