摘要: 1 import os 2 3 def renameFile(): 4 try: 5 os.rename(srcFile,dstFile) 6 except Exception as e: 7 print(e) 8 print('rename file fail\r\n' + srcFile ) 9 阅读全文
posted @ 2022-05-30 22:51 MING5135 阅读(48) 评论(0) 推荐(0) 编辑