#!/usr/bin/env python vs. #!/usr/bin/python
D'Arcy J.M. Cain
darcy at druid.net
Thu May 8 08:33:23 EDT 2008
On Thu, 08 May 2008 07:31:17 -0400
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.
Well, I know what happened when I tried it. What happened when you
tried it?
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list