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

Ben Finney bignose+hates-spam at benfinney.id.au
Tue May 6 07:06:49 EDT 2008


"Wojciech Walczak" <wojtek.gminick.walczak at gmail.com> writes:

> 2008/5/6, Banibrata Dutta <banibrata.dutta at gmail.com>:
> >  > Use /usr/bin/env.  If env is not in /usr/bin, put a link to it there.
> >
> >  So why not put symlink to Python over there on all machines, if
> >  we can put one (or env itself) there ?
> 
> To avoid linking all the rest of interpreters like perl, ruby, lua
> and dozens of others.

The argument was being made from "thousands of scripts". Isn't "dozens
of symlinks" better?

-- 
 \      "It is difficult to get a man to understand something when his |
  `\             salary depends upon his not understanding it." —Upton |
_o__)                                                   Sinclair, 1935 |
Ben Finney



More information about the Python-list mailing list