#coding:utf-8
import os
import shutil
for name in open('d:/py_code/c5/c55.txt','r'):
print(name)
oldpath='D:/处理照片/1-310/'
newpath='D:/处理照片/c5/'
if os.path.exists(oldpath+name[:-1]):
shutil.copy(oldpath+name[:-1],newpath+name[:-1])
else:
continue
python 图片复制
最新推荐文章于 2024-07-16 14:56:53 发布