I know how to set it in my /etc/profile and in my environment variables.
But what if I want to set it during a script? Is it import os, sys? How do I do it?
I linux this works too:
import sys sys.path.extend(["/path/to/dotpy/file/"])