摘要: 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 阅读(392) 评论(0) 推荐(0) 编辑
摘要: import shutil shutil.copy(oldName, newName) 阅读全文
posted @ 2021-01-21 16:39 bH1pJ 阅读(168) 评论(0) 推荐(0) 编辑