> > > The python tutorial says:
> > >
> > > (http://mvl.mit.edu/VRUT/python/tut/scripts.html)
>
> Where the hell did that URL come from?
Google, of course. :)
> oy. The official/current URL is:
>
> http://www.python.org/doc/current/tut/tut.html
>
> >...
> > > #!/usr/bin/env python
> > >
> > > (assuming that the interpreter is on the user's $PATH) at the
>
> That $PATH is the key. We should use the "env" trick, but also recognize
> that it isn't a "perfect" solution (I've had "env" break when running
> scripts in a CGI environment). Ideally, configure would search all
> reasonable locations or ask the user to tell it the right location, and then
> subst that into all the scripts. But that is just too much work for too
> little gain.
>
> So yah... all of our Python scripts should just use "env" until somebody
> wants to take the pain.
Heh. Agreed.
-Fitz
Received on Sat Oct 21 14:36:28 2006