I'm trying to make a python script runnable, by adding the following "shebang" first line:
but when I run the file, I get:
$ myscript.py : No such file or directory
Now, if I just try the
env line directly, it works:
]$ /usr/bin/env python Python 2.6 (r26:66714, May 5 2010, 14:02:39) etc. etc.
Why is the same line failing inside the file, but succeeding outside of it?