Hey guys. So, I have a Python script. Let's call it "Pythonfile.py" (Wow, I have so much imagination xD) I would usualy run it by typing in:
$ python ~/Desktop/Pythonfile.py -arg1 arg2 arg3
Now, this is kinda bothering; having to type all the python things. Idealy, I would want to run it like:
$ pythonfile -arg1 arg2 arg3
This would mean adding a new command to bash. But how? I would guess you should put a file:
/usr/bin/pythonfile
But what should be inside? I want it to run the original python script, which is located on the desktop - AND WITH THE ARGUMENTS .I'm on Ubuntu 10 by the way.