Bad interpreter

BaBS babs at sntteam.org
Wed May 26 07:21:28 EDT 2004


Le Wed, 26 May 2004 07:08:50 -0400, Peter Hansen a écrit :

> BaBS wrote:
> 
>> I've a problem whith my python script,
>>  i chmod'ed it to +x, addes the line :
>> #!/usr/bin/python2.3
>> and i verified that /usr/bin/python2.3 exists
>> but i've something like 
>> : bad interpreter: No such file or dir ...
>> 
>> What's the matter ??
> 
> Remove the hidden CR character which you got at the end of the
> lines by moving the file to a Windows system and editing it. ;-)
> 
> This one is pretty tricky to figure out the first few times...
> 
> -Peter

Thanks for the tips but ... i don't have CR Character ...
i edit my file with notepad and editplus but no matter what
It's the same message :/

-- 
Damien



More information about the Python-list mailing list