python学习之base64模块

常见方法:

base64.encodebytes()

参数:

接收一个字节对象。

返回值:

返回base64编码的数据(以' '结尾的数据)。

base64.decodebytes()

参数:

接收一个字节对象。

返回值:

返回base64编码之前的值。

原文地址:https://www.cnblogs.com/leomei91/p/7824822.html