I have a python script called script.py
that takes in arguments and gives the output. Every time I use the script, I copy it to local working directory and then execute it as python script.py --arg1=a
. I was wondering if there is a way to call the python function in local working directory without copying it, like how u can copy u c++ build files to /usr/local/bin and call it from anywhere.
Thanks.