# 将当前工作目录添加到sys.path,确保能正确导入模块 不然在做计划性运行时会报错找不到模块
current_dir = os.getcwd()
parent_dir = os.path.join(current_dir, os.pardir)
sys.path.insert(0, current_dir)