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)
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)
本文标题:python实现文章拷贝shutil
本文链接:https://www.haomeiwen.com/subject/tebedxtx.html
网友评论