Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-22 Thread Scott Oertel
[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/

[Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread emilia12
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/

Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread Thorsten Kampe
* (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 -

Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread David Duncan
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

Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread Senthil_OR
@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

Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread wesley chun
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

Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread Bill Campbell
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.

Re: [Tutor] #!/usr/bin/env python vs #!/usr/local/bin/python

2007-06-14 Thread Alan Gauld
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