permissions - I would like to execute a file.py merely by stating "file" rather than "python file.py" -


i have added following file:

chmod +x /home/me/file.py (as tried chmod a+x)  #!/tps/bin/env python (i tried #!/usr/bin/env python python returns /tps/bin/python) 

i permission denied when execute this. , other instances of question troubleshooting: "umask" returns 22 , "ls -l file.py" returns -rw-r--r--. using mac os x el capitan i'm running remotely on linux machine. file executable people other me well. all


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -