python实现文章拷贝shutil
2017-08-24 本文已影响0人
KavinDotG
python实现这个功能非常简单,因为库太强大了
import os
import shutil
oldfile = "E:\\pytest\\Inpainting-master\\image\\old.jpg"
newfile = "E:\\pytest\\Inpainting-master\\image\\400X640\\new.jpg"
shutil.copyfile(oldfile,newfile)