🌈 搜索
📅  最后修改于: 2022-03-11 14:45:38.418000             🧑  作者: Mango
# Writing dictionary as json import json d = {'guitar':'Jerry', 'drums':'Mickey' } json.dump(d, open('1.json', 'w'))