import sys from os.path import dirname, join sys.path.insert(0, join(dirname(__file__), '.'))