I want to run a simple Python code that I created from anywhere on my system.
I know that to do this with a shell script just run the command ln -s /home/user/script.sh/usb/ bin / script , however of knowing how to do the same with a "code.py".
I want to run a simple Python code that I created from anywhere on my system.
I know that to do this with a shell script just run the command ln -s /home/user/script.sh/usb/ bin / script , however of knowing how to do the same with a "code.py".
It's the same:
ln -s /home/usuario/codigo.py /usb/bin/script