Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal.
Right now i run it like this in terminal...
$ python myscriptname.py
or
$ ./myscriptname.py
but i want to be able to run it like this in terminal...
$ myscriptname
is this possible?
I have basic programming knowledge and know all the basic terminal commands. I just want to create my own terminal command that i don't have to be in the same directory as the script is. Can someone tell me how?