import sys sys.path.append('temp/temp/temp/temp/temp')

Read more of this post