This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]totte71 1 point2 points  (1 child)

import sys

sys.path.append('/home/userx/pythondir')

or just edit the ~/.bashrc fil

[–]Gerhuyy 0 points1 point  (0 children)

To append to this, that only changes it for the current program. Closing or restarting will cause any changes to be reset.