[Tutor] hi...

bhaaluu bhaaluu at gmail.com
Sun Aug 24 15:18:00 CEST 2008


On Sun, Aug 24, 2008 at 2:31 AM, Alberto Perez <betopm at live.com.mx> wrote:
> I have a problem with python, I'm begginner in python. How clear the screen
> of GUI python interactive????

I'm not sure what you mean by GUI interactive?
However, at the Python interactive prompt, I can
"clear the screen" using a simple,  old-fashioned way:

>>> for i in range(1,50):
>>>     print("\n")

That prints 50 newlines, thus effectively "clearing the screen."

Happy Programming!
-- 
b h a a l u u at g m a i l dot c o m
Kid on Bus: What are you gonna do today, Napoleon?
Napoleon Dynamite: Whatever I feel like I wanna do. Gosh!


More information about the Tutor mailing list