filePath = 'D:\12345'file
# 判断文件夹是否存在,不存在则建立文件夹if not os.path.exists(filePath): os.makedirs(filePath)di