Re: os.system('cls')

2008-12-25 Thread Dennis van Oosterhout
Hello Arno, thanks for the explanation! I have one more question: on the python site it says it's better to replace the system commands by subprocess and Popen. Now I searched for some good example for my specific case (as I have no idea how it should work and I don't get it any clearer by

Re: os.system('cls')

2008-12-25 Thread Dennis van Oosterhout
Btw...does that mean that system('cls') only works on Windows...or to say it otherwise: the program isn't platform independant? 2008/12/25 Dennis van Oosterhout de.slotenzwem...@gmail.com: Hello Arno, thanks for the explanation! I have one more question: on the python site it says it's better

Re: os.system('cls')

2008-12-25 Thread Python
On 25 dec 2008, at 11:22, Dennis van Oosterhout wrote: 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

Re: os.system('cls')

2008-12-25 Thread Python
On 25 dec 2008, at 12:56, Dennis van Oosterhout wrote: Hello Arno, thanks for the explanation! I have one more question: on the python site it says it's better to replace the system commands by subprocess and Popen. Now I searched for some good example for my specific case (as I have no idea

Re: os.system('cls')

2008-12-25 Thread Jeremiah Dodds
On Thu, Dec 25, 2008 at 7:11 AM, Dennis van Oosterhout de.slotenzwem...@gmail.com wrote: Btw...does that mean that system('cls') only works on Windows...or to say it otherwise: the program isn't platform independant? Yes. -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system('cls')

2008-12-25 Thread Python
2008/12/25 Dennis van Oosterhout de.slotenzwem...@gmail.com: Hello Arno, thanks for the explanation! I have one more question: on the python site it says it's better to replace the system commands by subprocess and Popen. Now I searched for some good example for my specific case (as I have

RE: os.system('cls')

2008-12-25 Thread Barak, Ron
Hi Dennis, print dir(os.system) print os.__dict__ might help Bye, Ron. From: Dennis van Oosterhout [mailto:de.slotenzwem...@gmail.com] Sent: Thursday, December 25, 2008 12:22 To: python-list@python.org Subject: os.system('cls') Hi there! I was searching

Re: os.system('cls')

2008-12-25 Thread D'Arcy J.M. Cain
On Thu, 25 Dec 2008 13:11:09 +0100 Dennis van Oosterhout de.slotenzwem...@gmail.com wrote: Btw...does that mean that system('cls') only works on Windows...or to say it otherwise: the program isn't platform independant? Exactly - sort of. Unless, of course, you have a program called cls

Re: os.system('cls')

2008-12-25 Thread Chris Gonnerman
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.slotenzwem...@gmail.com] Hi there! I was searching for a way to clear the 'DOS screen'/command screen etc. and found that