import os,sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) from bb import mm mm.sayhello()