One way is to - <br>
<br>
print * 25<br>
<br>
but that's probably not the best. You could check out Pythoncard for a simple GUI builder - <br>
<br>
<a href="http://pythoncard.sourceforge.net">pythoncard.sourceforge.net</a> - but it's a leap into the OO stuff.<br><br><div><span class="gmail_quote">On 6/17/05, <b class="gmail_sendername">Don Parris</b> <<a href="mailto:webdev@matheteuo.org">
webdev@matheteuo.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">With the console-based menu system I'm building, I'd like to clear the
<br>screen for each menu call - something like:<br><br>def main_menu():<br> clear #start with a fresh console screen, menu at top<br> print menuitems<br><br><br>This way, the users won't have to get too confused by all the previous
<br>screens.<br><br>I haven't found the correct way to do this so far. You can point me to the<br>documentation, and I'll play with that.<br><br>Thanks,<br>Don<br>--<br>evangelinux GNU Evangelist<br><a href="http://matheteuo.org/">
http://matheteuo.org/</a>
<a href="http://chaddb.sourceforge.net/">http://chaddb.sourceforge.net/</a><br>"Free software is like God's love - you can share it with anyone anytime<br>anywhere."<br>_______________________________________________
<br>Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a><br></blockquote></div><br><br><br>
-- <br>'There is only one basic human right, and that is to do as you damn well please.<br>And with it comes the only basic human duty, to take the consequences.'