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图片转base64
import base64
import os
with open(r'C:\Users\87774\Pictures\cat1.png','rb') as pngfile:
data = pngfile.read()
imgdata=base64.b64encode(data)
with open('1.txt','wb') as fp:
fp.write(imgdata)
|