I have a python script that I want to execute from the terminal, but I don't want to use the command python
scriptName.py
, instead, I'd like to just type scriptName
. Is that possible? If it is, how?
I had a look in here and here, but it doesn't work (probably because I'm on a different os).
I'm using python 2.7.9 on osx Yosemite (10.10.3).