shutil模組Steven Wang·Follow1 min read·Jan 8, 2019--Sharepython中shutil文件操作模块的使用shutil 是一种高层次的文件操作工具类似于高级API,而且主要强大之处在于其对文件的复制与删除操作更是比较支持好。 使用方法 copyfile( src, dst)…www.jianshu.compython shutil.move 移动文件 - Sean学编程的博客 - CSDN博客复制文件: shutil.copyfile("oldfile","newfile") #oldfile和newfile都只能是文件 shutil.copy("oldfile","newfile")…blog.csdn.netshutil.copy(“oldfile”,”newfile”) #oldfile只能是文件夹,newfile可以是文件,也可以是目标目录