Re: Newbie question - clearing screen @ interactive prompt

2005-12-10 Thread Kaizer
Hey matt, Thanks a ton! This works!! Have a great day Kaizer. -- http://mail.python.org/mailman/listinfo/python-list

Newbie question - clearing screen @ interactive prompt

2005-12-09 Thread Kaizer
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

Re: Newbie question - clearing screen @ interactive prompt

2005-12-09 Thread Max Ischenko
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

Re: Newbie question - clearing screen @ interactive prompt

2005-12-09 Thread matt
Just press Control-L. -- http://mail.python.org/mailman/listinfo/python-list