How to clear screen in Python interactive shell mode?

Laszlo Zsolt Nagy gandalf at
Fri Sep 16 09:41:05 CEST 2005

A. L. wrote:

>In Python interactive mode, is there some function acting like 'clear'
>command in bash?  Could somebody here give some advice?
Under Linux/UNIX system (on x86 at least) you can use the CTRL+L 
combination to clear the screen.
I do not now similar for Windows and MACs.


More information about the Python-list mailing list