python打開xls,將內容保存至json--使用Python3會避免不少中文的問題

import json d = {"id": 1, "position": 3, "check_name": 2, "check_nums": 0} with open("test.json", "w") as f: json.dump(d, f) from xlrd import open_workbook import xlwt workbook = open_work
相關文章
相關標籤/搜索