import sys, os this_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, this_dir)