# -*- coding:utf-8 -*-
#!python3
import os
import base64
sss ="""base64的编码"""
print(len(sss))
imagedata = base64.b64decode(sss)
print(imagedata)
file = open('1.jpg',"wb")
file.write(imagedata)
file.close()
05-07 15:27