shebang strange thing...
Gilles Lenfant
glenfant at NOSPAM.bigfoot.com
Fri Jun 20 07:26:25 EDT 2003
Hi,
I installed a brand new linux Mandrake and I noticed a strange thing when
using the shebang in a python script.
$ which python
/usr/bin/python
$ python
...
>>>
$ /usr/bin/python
...
>>>
myscript.py:
----------
#!/usr/bin/python
...
----------
$ chmod +x myscript.py
$ ./myscript.py
error : interpreter not found. (!!!)
The shebang works for #!/bin/sh (and others)
Did I miss something ?
Thanks in advance for any hint.
--Gilles
More information about the Python-list
mailing list