摘要: 判断目录是否存在import osdirs = 'C:\Users\Administrator\Desktop\work\python\' if not os.path.exists(dirs): os.makedirs(dirs) 判断文件夹是否存在 import os path =os.path 阅读全文
posted @ 2020-04-16 10:29 lucky8492 阅读(13096) 评论(0) 推荐(0) 编辑