字典蟒蛇我有這樣的代碼:上校一行在Excel中
"result": [{
"Name": "Jean",
"LastName": "xxx",
"Salaire": xxx,
"hire": "2015-07-25",
"numerobadge": 0000111 ",
"worked_per_week": 35,
}, {
"Name": "Catherine",
"LastName": "xxx",
"Salaire": xxx,
"hire": "2016-11-09",
"numerobadge": 0000127 ",
"worked_per_week": 25,
}, {
"Name": "George",
"LastName": "xxx",
"Salaire": xxx,
"hire": "2016-12-05",
"numerobadge": 0000144 ",
"worked_per_week": 35,
},
我想提取Excel的hours_per_week
和name
。我沒有找到與字典和列表和xlsxwriter好教程。
後你已經嘗試了Python代碼,不只是你正在試圖解析JSON。 – wmorrell