So I’m trying to create some scripts that I want to run without manually specifying the interpreter each time I run it.
#!/usr/bin/python
Above is the shebang on an existing script that runs like I want it to.
Below is the shebang of a script I wrote from scratch
#!/usr/bin/python
To me they look identical, but running the second one gives me a
helloWorld.py: permission denied
Both have been created using kate, utf-8 and unix lines.
Both are identical to me.
Any ideas?
The shebang may be correct, but the script also needs execute permissions.