摘要: 1.shutil模块 shutil模块是对os模块的功能补充,包含移动、复制、打包、压缩、解压等功能。 1)shutil.copyfileobj() 复制文件内容到另一个文件,可指定大小内容,如length=16*1024。 1 import shutil 2 f_old = open('old_f 阅读全文
posted @ 2019-12-17 11:14 fox不二 阅读(243) 评论(0) 推荐(0) 编辑