I think sys.path.append should work too, just you need to add the same path. Did you try that too?
You can use ~/.bashrc to set that variable permanently. see man bash and initialization about that.
If you think your problem solved please mark the thread as solved.
If you really want to say thanks just click on yes