I'm coming from the MSW development world and a few things in linux/ubuntu for "getting things done" have got me stumped.
If I have my python app in "/usr/local/pyscripts" named "myapp.py", how can I set up things so that I can run it from anywhere on the command line by simply giving the command "myapp arg1 arg2 arg3" ? (I can write bash scripts and set aliases if necessary.)
What (good) is the shebang line for in Python scripts ? What part of the OS uses it ?
TIA :-)
If I have my python app in "/usr/local/pyscripts" named "myapp.py", how can I set up things so that I can run it from anywhere on the command line by simply giving the command "myapp arg1 arg2 arg3" ? (I can write bash scripts and set aliases if necessary.)
What (good) is the shebang line for in Python scripts ? What part of the OS uses it ?
TIA :-)
Comment