shebang strange thing...

Steve McAllister nosp at m.needed
Fri Jun 20 13:44:47 CEST 2003


> $ ./myscript.py
> error : interpreter not found. (!!!)

Ensure your very first line _is_ exactly the one you _see_ , i.e. 
`#!/usr/bin/python\n', without any additional invisible character; 
trailing `\x00\n', for instance, would make you believe your script 
runs fine but does nothing.

I bet bash nerves shall be soothed if you delete then quietly rewrite 
this line.





More information about the Python-list mailing list