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
相关文章
相关标签/搜索