摘要: def formPMStrgetOldName(PMStr): rootPath = r'D:\x\s\d\d' dirs = os.listdir(rootPath) for i in dirs: # 循环读取路径下的文件并筛选输出 ... 阅读全文
posted @ 2021-01-21 16:40 bH1pJ 阅读(419) 评论(0) 推荐(0)
摘要: import shutil shutil.copy(oldName, newName) 阅读全文
posted @ 2021-01-21 16:39 bH1pJ 阅读(184) 评论(0) 推荐(0)