Re: [Tutor] Fwd: script in Raspberry pi python

2013-07-30 Thread Dave Angel
On 07/29/2013 10:42 PM, Kirk Bailey wrote: ok, I read linked article, then copied the perl script text, which bombs. The TEXT: * #!/usr/local/bin/perl -w** ** use strict;** ** ** while () {** ** s/\r\n/\n/;** ** print;** ** }* This works nicely, and all problems are solved. I tri

Re: [Tutor] Fwd: script in Raspberry pi python

2013-07-29 Thread Kirk Bailey
ok, I read linked article, then copied the perl script text, which bombs. The TEXT: * #!/usr/local/bin/perl -w** ** use strict;** ** ** while () {** ** s/\r\n/\n/;** ** print;** ** }* This works nicely, and all problems are solved. I tried to download the program using apt-get, b

Re: [Tutor] Fwd: script in Raspberry pi python

2013-07-29 Thread Kirk Bailey
originally edited on a windows box, then copied over with a usb stick. I suppose I better open it, copy it to mouse then paste it to a nw file- or what? Please advise. On 7/25/2013 3:45 PM, Walter Prins wrote: Hi, On 25 July 2013 19:45, Kirk Bailey > wrote

[Tutor] Fwd: script in Raspberry pi python

2013-07-25 Thread Walter Prins
Hi, On 25 July 2013 19:45, Kirk Bailey wrote: > 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:_ > Dave's correct. That "^M" represents ctlr-m, and is the display