with open('C:\\Users\\Administrator\\Desktop\\text\\鲁班软件近期会议.png','rb') as pic1:#图片是二进制,所以用rb读取
a=pic1.read()#读取
with open('C:\\Users\\Administrator\\Desktop\\text\\鲁班软件近期会议2.png','wb') as pic2:#图片是二进制,所以用wb写入
pic2.write(a)
with open('C:\\Users\\Administrator\\Desktop\\text\\鲁班软件近期会议.png','rb') as pic1:#图片是二进制,所以用rb读取
a=pic1.read()#读取
with open('C:\\Users\\Administrator\\Desktop\\text\\鲁班软件近期会议2.png','wb') as pic2:#图片是二进制,所以用wb写入
pic2.write(a)