I\'m building a simple helper script for work that will copy a couple of template files in our code base to the current directory. I don\'t, however, have the absolute path
What worked for me is using sys.path.insert. Then I specified the directory I needed to go. For example I just needed to go up one directory.
sys.path.insert
import sys sys.path.insert(0, '../')