making a commandline alias to a python file in a pipenv project
问题 I've been making a python project using pipenv, and I want to be able to run it in a terminal from any location on my (linux) system. Specifically, say I have the following directory structure: /home /project Pipfile main.py /other_dir I would like to be able to make an alias that allows me to call main.py like so: /home/other_dir$ alias_to_my_proyect --some args and run it in the virtual env, having the same behaviour as /home/project$ pipenv run python main.py But in another directory. If