摘要: import xlrd import openpyxl # 打开excel XlsBook = xlrd.open_workbook(os.path.join(path, "chinese", excel_name))# 获取某一个sheet页签信息 方法1 XlsSheet = XlsBook.s 阅读全文
posted @ 2019-07-25 14:08 AEOK 阅读(448) 评论(0) 推荐(0) 编辑
摘要: import xml.dom.minidom # 打开xxx.xml文档xml_fail = xml.dom.minidom.parse(xmlpath) # 得到文档元素对象root = xml_fail.documentElement# 根据标签为xxx的信息,获取所有标签为xxx的信息xxx_ 阅读全文
posted @ 2019-07-25 12:11 AEOK 阅读(208) 评论(0) 推荐(0) 编辑