[Tutor] command line

alan.gauld@bt.com alan.gauld@bt.com
Sun, 31 Mar 2002 23:21:20 +0100


------_=_NextPart_001_01C1D902.62330F80
Content-type: text/plain; charset="iso-8859-1"

 >  Why would you use the command line Python instead of the IDLE? 
 
1) It uses less machine resources
 
2) It starts faster
 
3) My text editor is better than IDLE's so edit run 
   is better than edit, switch program, run
 
 4) IDLE sets up its own environment python at 
    the command prompt python executes like the 
    production environment so less spurious errors
 
5) Tkinter does strange things in IDLE, not at the 
   python prompt.
 
Some of that relates to using the interpreter from the 
OS prompt, some to the cython interpreter prompt. 
The latter assumes as a minimum NT level editing 
functions and getline by preference.
 
Alan G

------_=_NextPart_001_01C1D902.62330F80
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=830241622-31032002><FONT 
face="Courier New" color=#0000ff>&nbsp;&gt; &nbsp;</FONT></SPAN>Why would you 
use the command line Python instead of the IDLE?<SPAN 
class=830241622-31032002><FONT face="Courier New" 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=830241622-31032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff>1) It uses less machine 
resources</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff>2) It starts 
faster</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff>3) My text editor is better than IDLE's so edit 
run </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff>&nbsp;&nbsp; is better than edit, switch 
program, run</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=830241622-31032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002>&nbsp;<FONT 
face="Courier New" color=#0000ff>4) IDLE sets up its own environment python at 
</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff>&nbsp;&nbsp;&nbsp; the command prompt python 
executes like the </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=830241622-31032002><FONT 
face="Courier New" color=#0000ff>&nbsp;&nbsp;&nbsp; production environment so 
less spurious errors</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>5) Tkinter does strange things in IDLE, not at the 
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>&nbsp;&nbsp; python prompt.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>Some of that relates to using the interpreter from the 
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>OS prompt, some to the cython interpreter prompt. 
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>The latter assumes as a minimum NT level editing 
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>functions and getline by 
preference.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=830241622-31032002>Alan G</SPAN></FONT></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C1D902.62330F80--