how to set environment variable for python permanently code example Example: save pythonpath export PYTHONPATH="${PYTHONPATH}:/my/other/path"