Every day, when I open an Ubuntu terminal and want to run a python project, I have to run previously export PYTHONPATH=$(pwd). Is there a way to avoid doing this every time I switch on my computer? Is there a way to set my PYTHONPATH permanently for that project?
>Solution :
Put the following line in your ~/.bashrc file:
export PYTHONPATH=/the/location/of/the/path