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 <kbai...@howlermonkey.net <mailto:kbai...@howlermonkey.net>> wrote:


    On 7/23/2013 9:42 PM, Amit Saha wrote:

        On Wed, Jul 24, 2013 at 11:13 AM, Kirk Bailey
        <kbai...@howlermonkey.net <mailto:kbai...@howlermonkey.net>>
        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

    right.


        Also, don't forget to chmod +x RR.py

    already done... I think... yep, 755. RWXR.XR.X!

    Therefore, Fhat the Wuck over?


Still not working?  Strange.  Any error message?  What OS?

What's the output of the following entered at the shell prompt:

which python



Walter

--

-Shaboom.

    Kirk Bailey
    CEO, Freehold Marketing LLC
    http://www.OneBuckHosting.com/
Fnord!

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to