os.system('cls')

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Thu Dec 25 16:16:40 CET 2008


Depends on what operating system you are using.  The list of possible 
commands would be unbounded, if not truly infinite.


 > From: Dennis van Oosterhout [mailto:de.slotenzwemmer at gmail.com]
 >
 > Hi there! I was searching for a way to clear the 'DOS screen'/command
 > screen etc. and found that os.system('cls') works for this. I was just
 > wondering where I can find al the commands which can be used for
 > os.system(). I searched with google but I didn't find an answer. In the
 > official python tutorial it says os.system('command') executes the
 > command, but it doesn't say which commands exist (or I'm just blind).
 >
 > Does anyone have an answer for this question?
 >




More information about the Python-list mailing list