"W W" <[EMAIL PROTECTED]> wrote
if os.system('cls') == 0:
   pass
elif os.system('clear') == 0:
   pass
else:
     print '\n' * 80

That should take care of most of your OS' out there...

Why raise an error when you can just clear it by brute force?

--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to