On 2012-04-15 07:03, Martti Kühne wrote:
> #!/usr/bin/env python2 and #!python2 in my experience have exactly the same
> effect, so all I can do is ask you what differences you found and then we 
> could

Nobody is talking about "#!python2", but about "#!/usr/bin/python2".

The former, "#!python2", is actually equivalent to "#!./python2"; i.e.
the one in the current directory.

The difference between "#!/usr/bin/python2" and "#!/usr/bin/env python2"
becomes obvious when you have multiple `python2`s in your $PATH.

-- 
Mantas M. <[email protected]>

Reply via email to