How to question

Daniel Klein DanielK at aracnet.com
Wed Dec 27 10:34:22 EST 2000


Don't know about PythonWin but in IDLE you can:

    def cls():
        print "\n" * 50

Daniel Klein

(btw, you should not be sending newsgroup messages in html since there are
many newsreaders that can only 'see' plain text)

"Daniel Kinnaer" <Daniel.Kinnaer at AdValvas.be> wrote in message
news:mailman.977863690.15082.python-list at python.org...
How can one 'clear' or 'cls' the interactive window from PythonWin or form
IDLE? That is : I'd like to clear/cls this window so that all previous
output in the interactive window is erased and only the last 'run' is shown
in the interactive window...  Thanks

best regards,
Daniel





More information about the Python-list mailing list