Re: [Tutor] script in Raspberry pi python

2013-07-29 Thread Francois Dion
Dont edit unix files on windows, else you might end up with that problem. It is looking for python^M and not python. Edit with vi and delete the control-M character. Also, If you need to edit a file with a GUI but have the raspberry pi headless check out: http://raspberry-python.blogspot.com/2

Re: [Tutor] script in Raspberry pi python

2013-07-28 Thread Kirk Bailey
which python /usr/bin/python root@KirksPiBox1:/home/pi: ./RR.py bash: ./RR.py: /usr/bin/python^M: bad interpreter: No such file or directory root@KirksPiBox1:home/pi:_ On 7/25/2013 1:47 PM, Walter Prins wrote: Hi, On 25 July 2013 18:02, Kirk Bailey > wrote:

Re: [Tutor] script in Raspberry pi python

2013-07-25 Thread Dave Angel
On 07/25/2013 01:02 PM, Kirk Bailey wrote: On 7/23/2013 9:42 PM, Amit Saha wrote: On Wed, Jul 24, 2013 at 11:13 AM, Kirk Bailey wrote: Python works fine in pi. script works fine IF I invoke it high church: python ./RR.py but this fails: ./RR.py the shebang is #!/usr/bon/python bon -> bin r