A suggestion for python 2.1.

Duncan Booth duncan at rcp.co.uk
Fri Oct 20 07:42:19 EDT 2000


wolfson at midway.uchicago.edu (Ben Wolfson) wrote in 
<RBHH5.180$v3.1390 at uchinews>:

>In article <8snf03$dhu$1 at nnrp1.deja.com>,  <thehaas at my-deja.com> wrote:
>>Now,
>>not only can you click on the program for it to run, but you can type
>>it in on the command line and it will run (make sure you include
>>the ".py", though).  Then you can put this Python program into your
>>path and everything is groovey.
>
>Really?
I think the command line stuff may be an NT only trick (presumably also 
Win2K but I haven't checked). Win9X is pretty broken in this respect.
On NT, if you also remember to modify the PATHEXT environment variable to 
include .py, then you don't need to include the extension when running a 
script.




More information about the Python-list mailing list