python script as executable
arnodel at googlemail.com
Tue Apr 29 08:08:54 CEST 2008
sandipm <sandip.more at gmail.com> writes:
> I have written a python script to run from cron.
> I have put #!/usr/bin/env python at top. file executes correctly when
> I run using python filename.py but
> it fails to execute when try to run it like script/command.
> it throws error:
> :No such file or directory
> I am editing file from eclipse for python from windows. and then
> uploading on linus machine to run it.
> any pointers?
Have you made your file executable (man chmod)?
More information about the Python-list