摘要: import xlrdfrom xlutils.copy import copyclass OpraterExcel(): def __init__(self, file_path=None, sheet_index=None): if file_path == None: self.file_pa 阅读全文
posted @ 2019-10-23 13:55 新月黄河 阅读(156) 评论(0) 推荐(0)
摘要: import jsonclass OptertionJson: def __init__(self, file_path=None): if file_path == None: self.file_path = './test.json' else: self.file_path = file_p 阅读全文
posted @ 2019-10-23 13:50 新月黄河 阅读(334) 评论(0) 推荐(0)
摘要: import jsonclass JsonTest: with open('./test.json') as fp: s = fp.read() print(type(s)) # 类型是str print(s) print(" ") with open('./test.json') as f: l 阅读全文
posted @ 2019-10-23 13:43 新月黄河 阅读(207) 评论(1) 推荐(0)