摘要: shutil模块 高级的文件,文件夹,压缩包处理模块 shutil.copyfileobj(fsrc, fdst[, length]) 将文件内容拷贝到另一个文件中 1 import shutil 2 shutil.copyfileobj(open('old.xml','r'), open('new 阅读全文
posted @ 2020-10-23 20:49 xiongsheng 阅读(167) 评论(0) 推荐(0)