Clearing the screen

mwt michaeltaft at gmail.com
Sat Feb 11 15:04:22 EST 2006


I'm doing some python programming for a linux terminal (just learning).
When I want to completely redraw the screen, I've been using
os.system("clear")
This command works when using python in terminal mode, and in IDLE.
However, when running a little .py file containing that command, the
screen doesn't clear. 

What to do?




More information about the Python-list mailing list