Re: [Tutor] python scripting using "./"

2011-05-24 Thread Hank Wilkinson
ummerfield wilkinson$ ./hello.py -bash: ./hello.py: Permission denied John-Wilkinsons-iMac:p31summerfield wilkinson$ On May 24, 2011, at 10:02 AM, Walter Prins wrote: > > > On 24 May 2011 14:51, Hank Wilkinson wrote: > Thank you, I changed the first line to: > #!/usr/bin/env/python3 >

Re: [Tutor] python scripting using "./"

2011-05-24 Thread Hank Wilkinson
Thank you. John-Wilkinsons-iMac:p31summerfield wilkinson$ which python /opt/local/bin/python On May 24, 2011, at 9:27 AM, Walter Prins wrote: > The problem likely is as intimated by the error message that your python > interpreter not called "/usr/local/bin/python3.1" but I'd offhand guess, >

Re: [Tutor] python scripting using "./"

2011-05-24 Thread Hank Wilkinson
to... > > #!/usr/local/bin/python3 > > ...you should get along much better! :) > > S. > > -Original Message- > From: Hank Wilkinson [mailto:hwilkin...@triad.rr.com] > Sent: Tuesday, May 24, 2011 2:25 PM > To: Flynn, Stephen (L & P - IT) > Cc: t

Re: [Tutor] python scripting using "./"

2011-05-24 Thread Hank Wilkinson
capita.co...@python.org > [mailto:tutor-bounces+steve.flynn=capita.co...@python.org] On Behalf Of > Hank Wilkinson > Sent: Tuesday, May 24, 2011 2:10 PM > To: tutor@python.org > Subject: [Tutor] python scripting using "./" > > I am trying to do script in python using "

Re: [Tutor] python scripting using "./"

2011-05-24 Thread Hank Wilkinson
inal Message- > From: tutor-bounces+steve.flynn=capita.co...@python.org > [mailto:tutor-bounces+steve.flynn=capita.co...@python.org] On Behalf Of > Hank Wilkinson > Sent: Tuesday, May 24, 2011 2:10 PM > To: tutor@python.org > Subject: [Tutor] python scripting using "./" &

[Tutor] python scripting using "./"

2011-05-24 Thread Hank Wilkinson
I am trying to do script in python using "./" Here is a session showing "bad interpreter: No such file or directory" Is this a python question/problem? Last login: Sat May 21 14:22:49 on ttys000 John-Wilkinsons-iMac:~ wilkinson$ cd /Users/wilkinson/Documents/py32/p31summerfield John-Wilkinsons-iM