import os #获取工作目录 workdir = os.path.dirname(os.path.dirname(__file__))