newbie q: /usr/bin/env why?

Fredrik Lundh effbot at telia.com
Wed Aug 30 03:57:00 EDT 2000


lynx wrote:
> okay, i've noted the tradition of python scripts invoking themselves with
> "#!/usr/bin/env python", but i can't figure out why. exactly what good
> thing does the env(1) invocation accomplish that python finds useful?

http://www.python.org/doc/FAQ.html#4.63
contains a discussion on why and when using env is a
good idea.

>  - lynx, like all wild cats paranoid of strange new things

don't fear the faq.

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->




More information about the Python-list mailing list