Coming from Perl

Amer Neely perl4hire at softouch.on.ca
Thu Sep 13 11:43:27 EDT 2007


Amer Neely wrote:
> Richie Hindle wrote:
>>> [Amer]
>>> #!/usr/bin/python
>>> [...] On my home PC [...]
>>> [Thu Sep 13 04:16:03 2007] [error] [client 0.0.0.0] (OS 2)The system 
>>> cannot find the file specified.
>>
>> That's because on your home PC Python is somewhere like
>> C:\Python25\python.exe, not /usr/bin/python.
>>
>> Are you sure /usr/bin/python is correct for your hosting environment?
>>
> 
> It's my understanding that the Windows shell doesn't pay much attention 
> to the shebang line if the file type is associated with the proper 
> application.
> 
> But I tried your suggestion and got the same results.
> 

My BAD! I changed the shebang all right, but entered a typo. With the 
correct path it did work just fine.

So, perhaps the path to python on my host is wrong? I got that one right 
from the techs.

-- 
Amer Neely
w: www.webmechanic.softouch.on.ca/
Perl | MySQL programming for all data entry forms.
"Others make web sites. We make web sites work!"



More information about the Python-list mailing list