摘要: import base64 #字符串编码: encodestr = base64.b64encode('abcr34r344r'.encode('utf-8')) print(str(encodestr,'utf-8')) 结果:YWJjcjM0cjM0NHI= # 对字符串解码 base64.b64decode(str2).decode() 阅读全文
posted @ 2019-01-14 20:19 lvmenghui001 阅读(170) 评论(0) 推荐(0) 编辑