[Tutor] Clearing the Console Screen
Don Parris
webdev at matheteuo.org
Thu Jun 16 17:02:37 CEST 2005
With the console-based menu system I'm building, I'd like to clear the
screen for each menu call - something like:
def main_menu():
clear #start with a fresh console screen, menu at top
print menuitems
This way, the users won't have to get too confused by all the previous
screens.
I haven't found the correct way to do this so far. You can point me to the
documentation, and I'll play with that.
Thanks,
Don
--
evangelinux GNU Evangelist
http://matheteuo.org/ http://chaddb.sourceforge.net/
"Free software is like God's love - you can share it with anyone anytime
anywhere."
More information about the Tutor
mailing list