标签:python read jpg test %s users col with with open
for i in range(10): with open(r‘C:\Users\admin\Pictures\微信图片_20180608133815.jpg‘,‘rb‘) as f,open(‘C:\\Users\\admin\\Pictures\\test%s.jpg‘% i,‘wb‘) as ww: dat=f.read() ww.write(dat)
如何一口气复制十张图片?
上面这段代码就可以
标签:python read jpg test %s users col with with open
原文地址:https://www.cnblogs.com/yuanji2018/p/9207006.html