手机
当前位置:查字典教程网 >脚本专栏 >python >Python base64编码解码实例
Python base64编码解码实例
摘要:Python中进行Base64编码和解码要用base64模块,代码示例:#-*-coding:utf-8-*-importbase64str...

Python中进行Base64编码和解码要用base64模块,代码示例:

#-*- coding: utf-8 -*- import base64 str = 'cnblogs' str64 = base64.b64encode(str) print str64 #Y25ibG9ncw== print base64.b64decode(str64) #cnblogs

【Python base64编码解码实例】相关文章:

python实现批量转换文件编码(批转换编码示例)

Python 异常处理实例详解

python 图片验证码代码分享

python单链表实现代码实例

python二分法实现实例

python中文乱码的解决方法

Python中文编码那些事

python获得图片base64编码示例

python实现的一个p2p文件传输实例

python查找第k小元素代码分享

精品推荐
分类导航