1、查看变量类型: pring type(item)
2、解决list中的中文显示乱码
使用decode(‘string_escap‘)将数据库查询返回的将带转义的字节码字符串转换为成utf-8中文
python日常小计
原文:http://www.cnblogs.com/andriy-h/p/6876348.html