[Tutor] starting python within script

Tim Condit timc@ans.net
Tue, 29 Aug 2000 11:15:11 -0400 (EDT)


Hi, 

I'm curious about the two ways I see python started from inside scripts.
These are the locations on my desktop computer at work: 

#!/usr/bin/env python
#!/usr/local/bin/python

One of these creates a .pyc byte compiled file. The other doesn't. What is
the advantage of one over the other? 

I recall seeing something about this somewhere, but (obviously) don't
recall where it was. Which way do people prefer to call python from within
scripts, and why? 


Thanks, 

Tim Condit
UUNet Network Quality Services
734-214-7548
tcondit@uu.net