I would like to add some python script to path.
I can add bash scripts to folders in my path and then execute them from everywhere. When I do so with python script, I can only execute them when I am in the same directory.
Per exemple, if I put test and test2.py in the same folder in my path.
This work:
sh test success hello world
This doesn't:
python test.2.py python: can't open file 'test2.py': [Errno 2] No such file or directory [Errno 2] No such file or directory