python2中将含有汉字的dict转化成正常的json字符串
2015-11-25 17:04
615 查看
json.JSONEncoder().encode(dict).decode('unicode-escape')
相关文章推荐
- 遍历元组写excel,读excel文件
- python note
- Python学习笔记-1(变量、类型、函数、类、作用域)
- 虚拟机:Python虚拟机的基本了解
- Python yield 使用浅析
- python 操作execl文件
- python写excel
- selenium 2 + python iframe定位
- python的signal
- windows下python绘图库matplotlib安装方法(亲测)
- Python 获得命令行参数的方法
- python-实现xml字符串替换功能
- Python pdb
- python第四课
- [转]python新手必碰到的问题---encode与decode,中文乱码
- python-安装xlrd xlwt 插件
- Python之自动化打包脚本(针对server设备)
- Python学习
- Python之打包一键自动化脚本(针对cmt设备)
- [基础] - Python中 raw_input 和 input 的区别