On 24 May 2011 14:51, Hank Wilkinson <hwilkin...@triad.rr.com> wrote:
> Thank you, I changed the first line to: > #!/usr/bin/env/python3 > then I tried again: > John-Wilkinsons-iMac:p31summerfield wilkinson$ ./hello.py > -bash: ./hello.py: /usr/bin/env/python3^M: bad interpreter: Not a directory > John-Wilkinsons-iMac:p31summerfield wilkinson$ > > So I am getting different messages, but ... > > Yes, the exact line to use is: #!/usr/bin/env python Note the space between "/usr/bin/env" and "python". If you'd like to know what's happening here I'll explain. Walter
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor