[Tutor] clearing screen?
alan.gauld@bt.com
alan.gauld@bt.com
Sun, 6 Oct 2002 18:33:50 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C26D5E.8886BC40
Content-Type: text/plain;
charset="iso-8859-1"
> I run programs in Idle from an Edit window.
> What command can I use at the top of my program in the Edit window
> to clear the IDLE output screen?
Yu can't really but you could try:
for i in range(50): print
As an approximation...
Alan g
------_=_NextPart_001_01C26D5E.8886BC40
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial><FONT size=2><SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff>> </FONT></SPAN>I run programs in Idle
from an Edit window. <SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff>> </FONT> </SPAN>What command can I use
at the top of my program in the Edit window <SPAN
class=980174017-06102002><FONT face="Courier New"
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff>> </FONT> </SPAN>to clear the IDLE
output screen?<SPAN class=980174017-06102002><FONT face="Courier New"
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=980174017-06102002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff>Yu can't really but you could
try:</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=980174017-06102002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff>for i in range(50):
print</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=980174017-06102002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=980174017-06102002><FONT
face="Courier New" color=#0000ff>As an
approximation...</FONT> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN
class=980174017-06102002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN
class=980174017-06102002>Alan g</SPAN></FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C26D5E.8886BC40--