I've written a library in python and I want it to reside in a common location on the file system.
From my script, I just want to do:
>>> import mylib
Now I understand that in order to do this, I can do this:
>>> import sys
>>> sys.path.append(r'C:\MyFolder\MySubFolder')
>>> import mylib
But I don't want to have to do that every time.
The question is: How do I add a folder to python's sys.path permanently? I would imagine that it would be an environment variable, but I can't find it.
It seems like it should be easy, but I can't find out how to do it.