Coming from Perl

Amer Neely perl4hire at softouch.on.ca
Thu Sep 13 11:39:22 EDT 2007


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.

-- 
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