#!/usr/bin/env python vs. #!/usr/bin/python

Michael Mabin d3vvnull at gmail.com
Thu May 8 07:52:09 EDT 2008


For me, the difference is #!python doesn't work for me.  I get a bad
interpreter error.

On Thu, May 8, 2008 at 6:31 AM, Brian Vanderburg II <
BrianVanderburg2 at aim.com> wrote:

> This is sort of related, but I'm wondering what is different between
> "#!/usr/bin/env python" and "#!python".  Wouldn't the second do the same
> thing, since an absolute path is not specified, find 'python' from the PATH
> environment,  I don't really know.
>
> Brian Vanderburg II
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
| _ | * | _ |
| _ | _ | * |
| * | * | * |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080508/feb97481/attachment-0001.html>


More information about the Python-list mailing list