Clearing Screen

Walter Hofmann spamdropbox at myrealbox.com
Sun Mar 4 09:41:28 EST 2001


On 04 Mar 2001 04:14:46 GMT, Sr63085 <sr63085 at aol.com> wrote:
>
>Is there a way to clear all text from the screen in a Python Script
>window?(similar to clreol() with conio.h in C/C++)
>Thanks in advance.

import os
clear = os.popen ("clear").read ()

print "Hallo"
print clear


Walter



More information about the Python-list mailing list