ç´æ¥import json
ç¶åjson.dump(a,open("filename.json","wb"))è¿æ ·å°±å¯ä»¥äºã
è¦æ³¨æçäºæ
å°±æ¯ï¼å¦æä½ çlistéç对象ä¸è½ç´æ¥å符串åï¼æè
æ¯unicodeï¼æ好é½äºå
转åä¸ä¸ã
æ¯å¦datetimeç±»åæ¯ä¸è½ç´æ¥è½¬åçã
温馨提示:答案为网友推荐,仅供参考