import os import sys sys.path += [os.path.dirname(__file__)] sys.path += ["../"] from package import module