export PYTHONPATH=${PYTHONPATH}:/home/peg/myapplication/ permanently code example Example: save pythonpath export PYTHONPATH="${PYTHONPATH}:/my/other/path"