I use Windows XP, Python 2.7, Notepad++ as my editor, and generally run my .py files from cmd, this is how I toggle between running my .py file after an edit (and save) and subsequently clearing the screen - it's pretty easy.
I "arrow-up/arrow-down" on the keyboard to reprint (type) the latest command in cmd, this toggles between running my .py file... runs my file ... C:\Python27\MyScripts>python helloworld.py and to clear whatever printed to the screen... clears the screen ... C:\Python27\MyScripts>cls Once you've typed both at the prompt just arrow up or down, then hit enter - file run or screen cleared, as well saves time retyping. Sorry if I missed it but this works for me because I too prefer to print to a cleared screen, don't know why, just do. Mike :) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor