#!/usr/bin/python or #!/usr/bin/env python?
Erik Max Francis
max at alcyone.com
Tue Aug 8 16:25:28 EDT 2006
Martin v. Löwis wrote:
> I use /usr/bin/env if I don't know what the operating system is;
> some systems don't have Python in /usr/bin. I use /usr/bin/pythonX.Y
> if I want a specific version on a specific operating system (typically
> Linux).
Even there, /usr/bin/env pythonX.Y would be a better choice. (Maybe
that's what you meant.)
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Never contend with a man who has nothing to lose.
-- Baltasar Gracian, 1647
More information about the Python-list
mailing list