json.dump(dict, f,separators=(',',':'))输出格式为:
{"AAPP":["0","0","0","0","0","0","0","0"],"AAPP_TD":["0","0","0","0","0","0","0","0"]}
json.dump(dict, f,indent=0,separators=(',',':'))输出格式为:
{
"AAPP":[
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
],
"AAPP_TD":[
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
]
}
请问如果操作才能达到以下想要的格式为,:
{
"AAPP":["0","0","0","0","0","0","0","0"],
"AAPP_TD":["0","0","0","0","0","0","0","0"]
}