Python and Red Hat Linux 6

Bill Janssen janssen at parc.xerox.com
Tue Jul 27 18:59:40 EDT 1999


Excerpts from ext.python: 27-Jul-99 Re: Python and Red Hat Linux 6
Nathan Clegg at islanddata. (501*)

> You have to give #! an absolute pathname for it to work.  env is
> (somewhat) reliably at /usr/bin and is a program used exclusively for
> running other programs in certain environments.  In this case, it is used
> because it will search your path for python rather than requiring it to be
> explicit.

Of course, it only works if python is on the PATH of the program
executing the script.  Personally, I don't find the /usr/bin/env hack
useful.

Bill








More information about the Python-list mailing list