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

msoulier msoulier at gmail.com
Wed Aug 9 08:36:08 EDT 2006


John Salerno wrote:
> I understand the difference, but I'm just curious if anyone has any
> strong feelings toward using one over the other?

I personally prefer being explicit over implicit, but then, that is in
the Zen of Python.

I work on machines with multiple interpreters installed. I find picking
the first one in the path to be very annoying. That means that it's
going to work differently for different people based on their PATH.

Mike




More information about the Python-list mailing list