import sys# 将父级文件夹加到引用模块搜索目录sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))import 父级文件夹下的模块