代码:
#coding:utf-8 import json
with open("msg.json") as jsonfile: json_data = json.load(jsonfile) for key in json_data: val = json_data[key] print key + 't' + val
CopyRight © 2010-2021 脚本学堂 Jb200.com , All Rights Reserved.