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

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -