I attempted the two commonly mentioned methods below, and they have not worked - hence this [seemingly redundant] question.
import sys
sys.path.append('foo/bar')
AND
export PYTHONPATH=$PYTHONPATH:foo/bar
The first one terminates the append once interpreter is exited. The second terminates when terminal is closed (despite the fact that people seem to have no problem with permanently appending via the second method).
What am I missing here and how do I resolve this issue?
Thank you.