#!/usr/bin/python or #!/usr/bin/env python?

John Salerno johnjsal at NOSPAMgmail.com
Tue Aug 8 16:00:33 EDT 2006


skip at pobox.com wrote:

> On most systems /usr/bin/python will be
> the system-provided one (e.g. the one that came with your Linux
> distribution).  You might prefer a Python of more recent vintage though.
> That's commonly installed in /usr/local/bin/python and /usr/local/bin is
> generally ahead of /usr/bin in PATH.

Ah, that answered my next question too! I guess I'll stick with the env 
method, since I like the more general, abstract stuff over the absolute 
anyway.



More information about the Python-list mailing list