sys.path.append("…") 添加上层路径到sys.path列表,方便导入模块搜索路径时能搜索到上层目录 参考博客:https://blog.csdn.net/jojoy_tester/article/details/54575264