Variations on a theme by "pound bang"

James Logajan JamesL at Lugoj.Com
Sun Jun 13 16:45:15 EDT 1999

Christian Tismer wrote:
> Sean Mc Grath wrote:
> >
> > Can anyone shed some light on the benefits of:-
> >
> > # !/usr/bin/env python
> Uses the env program which is allways there, to figure out
> from the environment settings which python to use.

Alas, this is a myth. Not all Unixen put env in /usr/bin, some put it in
/bin. I can't recall if it was Solaris (probably not) or LynxOS (probably)
that put env in /bin. Anyway, I got bit by it.

More information about the Python-list mailing list