📜  从 json 文件中提取数据 python 代码示例

📅  最后修改于: 2022-03-11 14:45:54.968000             🧑  作者: Mango

代码示例4
with open('distros.json', 'r') as f:
    distros_dict = json.load(f)

for distro in distros_dict:
    print(distro['Name'])