python使用base64.b64encode报错:TypeError: 'str' does not support the buffer interface

 改为:

base64.b64encode('123'.encode('utf-8')).decode('utf-8')

 

展开阅读全文

没有更多推荐了,返回首页