例如: # -*- coding=UTF-8 -*- import json data = [] with open('data.json') as f: for line in f: data.append(json.loads(line)) strKey = '中评' strKey = strKey.decode('utf-8') # python 默认是unicode编码,不转码,则查询不到Key print data[0].get(strKey) 字符串在Python内部的表示是unic…