关于python单文件测试,运行引入报错的处理 闲者无敌 2026-08-14 2 阅读1分钟 import sys import os sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))