[EMAIL PROTECTED] wrote:
hi list,
how to choose between #!/usr/bin/env python and
#!/usr/local/bin/python in the beginning of the script ?
e.
-
SCENA - Ĺäčíńňâĺíîňî ÁĹÇĎËŔŇÍÎ ńďčńŕíčĺ çŕ ěîáčëíč ęîěóíčęŕöčč č ňĺőíîëîăčč.
http://www.bgscena.com/
hi list,
how to choose between #!/usr/bin/env python and
#!/usr/local/bin/python in the beginning of the script ?
e.
-
SCENA - Ĺäčíńňâĺíîňî ÁĹÇĎËŔŇÍÎ ńďčńŕíčĺ çŕ ěîáčëíč ęîěóíčęŕöčč č ňĺőíîëîăčč.
http://www.bgscena.com/
* (Thu, 14 Jun 2007 13:14:13 +0300)
how to choose between #!/usr/bin/env python and
#!/usr/local/bin/python in the beginning of the script ?
Just choose. Say I want to the script. Say I want '#!/usr/bin/env
python'
___
Tutor maillist -
On 6/14/07, Ezra Taylor [EMAIL PROTECTED] wrote:
I think Emilia means what's the difference. From what little I know,
#!/usr/bin/env python will choose the first python that's in your path.
Were as the second option, you explicitly choose which instance of python
you want. I'm using using
@python.org
Subject: Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python
On 6/14/07, Ezra Taylor [EMAIL PROTECTED] wrote:
I think Emilia means what's the difference. From what little I know,
#!/usr/bin/env python will choose the first python that's in your path. Were
Okay, I guess, people are missing points here.
#!/usr/local/bin/python
You are specifying the location to the python executable in your machine,
that rest of the script needs to be interpreted with.
You are pointing to python is located at /usr/local/bin/python
Consider the possiblities
On Thu, Jun 14, 2007, Rolando Pereira wrote:
[EMAIL PROTECTED] escreveu:
Okay, I guess, people are missing points here.
When do you
#!/usr/local/bin/python
You are specifying the location to the python executable in your machine,
that rest of the script needs to be interpreted with.
From the welter of posts, coming back to the original,
let's summarise:
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
how to choose between #!/usr/bin/env python and
#!/usr/local/bin/python in the beginning of the script ?
Use env if you want maximum flexibility across
different