[EMAIL PROTECTED] said unto the world upon 16/02/06 08:22 AM:
>>>bash: ./testerlybar.py: /usr/bin/python^M: bad interpreter: No such
> 
> file or directory [EMAIL PROTECTED]:/media/windata$
> 
> Note the ^M  the additional fileformat character inserted. That is
> causing the problem.
> 
> Instead of copying and pasting try to use cp file1 file2.
> Else, open the copied file and try to remove ^M from it. Under vim, it
> is :%s/\r//g ( this removed the additional line break character which
> your editor or something had introduced.

Hi,

thanks; I did notice the '^M' and was puzzled by it. It persisted even 
when I manually retyped the script in IDLE. Or, more conservatively, I 
feel certain that this is so :-)

Either way, the cp dance worked.

I call Gremlins! ;-)

Best,

Brian vdB
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to