import os
os.system('cls')
you will able to see the effect when you run in windows console.
Cheers,
pujo
On 1/23/06, Suri Chitti
<[EMAIL PROTECTED]> wrote:
Dear group,
If I am executing a python prog from the command line and
need to clear the screen (like using the cls command at the windows cmd
prompt) midway into the program, how do I do it?? Any inputs will be
greatly appreciated.
Thanks.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor