[Tutor] Clearing the screen

Praveen Pathiyil ppathiyi@cisco.com
Mon, 14 May 2001 10:52:09 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_010C_01C0DC63.ECA47DD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
        Is there any command in python to clear the screen ?=20
   =20
        I am printing lot of lines to the screen (stdout). If at any =
point of time, i want to clear the screen, is there any command which =
will help me do this ? [ Other than os.system('clear') ]

TIA,
Praveen.

------=_NextPart_000_010C_01C0DC63.ECA47DD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
Is there any=20
command in python to clear the screen ? </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; I =
am printing=20
lot of lines to the screen (stdout). If at any point of time, i want to =
clear=20
the screen, is there any command which will help me do this ? [ Other =
than=20
os.system('clear') ]</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>TIA,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Praveen.</FONT></DIV></BODY></HTML>

------=_NextPart_000_010C_01C0DC63.ECA47DD0--