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