[Tutor] doubt plz help

Kent Johnson kent37 at tds.net
Tue Jun 6 14:09:33 CEST 2006


soumitr siddharth wrote:
> how do i clear the scseer ??
> suppose i have two pages to display one
> after the other ,how should i do it ?

It depends on the OS and the type of display. For a console application 
on Windows, use
os.system('cls')

On Linux I think the corresponding command is
os.system('clear')

If you are using a GUI toolkit then tell us which one and a bit more 
details about what you want to do.

Kent



More information about the Tutor mailing list