import os # os.path.abspath(__file__) 获取当前这个文件的路径 # os.path.dirname 获取当前文件的文件夹所在的路径 BSEE_DIR = os.path.dirname(os.path.abspath(__file__))