[Tutor] python scripting using "./"

Walter Prins wprins at gmail.com
Tue May 24 15:57:07 CEST 2011

On 24 May 2011 14:53, Hank Wilkinson <hwilkinson at triad.rr.com> wrote:

> Thank you.
> John-Wilkinsons-iMac:p31summerfield wilkinson$ which python
> /opt/local/bin/python
> OK excellent.    So you can either use '#!/opt/local/bin/python' in your
script, or alternatively '/usr/bin/env python' (presuming that you have
'env' available.)  Note the space between the /usr/bin/env" part and the
"python" part.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110524/def6dc03/attachment.html>

More information about the Tutor mailing list