[Tutor] script in Raspberry pi python
Kirk Bailey
kbailey at howlermonkey.net
Thu Jul 25 20:45:50 CEST 2013
which python
/usr/bin/python
root at KirksPiBox1:/home/pi: ./RR.py
bash: ./RR.py: /usr/bin/python^M: bad interpreter: No such file or directory
root at KirksPiBox1:home/pi:_
On 7/25/2013 1:47 PM, Walter Prins wrote:
> Hi,
>
>
> On 25 July 2013 18:02, Kirk Bailey <kbailey at howlermonkey.net
> <mailto:kbailey at howlermonkey.net>> wrote:
>
>
> On 7/23/2013 9:42 PM, Amit Saha wrote:
>
> On Wed, Jul 24, 2013 at 11:13 AM, Kirk Bailey
> <kbailey at howlermonkey.net <mailto:kbailey at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130725/cc5cab98/attachment-0001.html>
More information about the Tutor
mailing list