Hey matt,
Thanks a ton! This works!!
Have a great day
Kaizer.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I use python on Mandrake 10.2 2005 Ltd edition. I am learning so i use
python interactively. How do i clear the screen in python??
I simply type clear on the Linux prompt and the screen clears there.
Is there a similar command in Python to clear the interactive screen??
Thanks in
Well, you can run any system command from within Python as well:
import os
os.system('clear')
But I'm not sure this will help in this case. Are you trying to program
a console app in Python? If so, you may want to look into curses
module or other console lib that has Python bindings (like
Just press Control-L.
--
http://mail.python.org/mailman/listinfo/python-list