[Tutor] (no subject)
Magnus Lycka
magnus@thinkware.se
Thu Dec 19 06:33:03 2002
At 11:54 2002-12-19 +0100, Maarten Mulders wrote:
>Is there a command that clears the complete (shell)screen, like ClrScr or
>CLS or something?
Check the mailing list archive...let's see...was it two months
ago?
The short answer is: Not in python.
These kinds of things are inherently platform and context dependent.
There are different solutions depending on operating system and how
you run your program.
import os
dummy = os.system('CLS')
might be what you are looking for, but that depends...
--
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se