摘要: python中的xlwt模块 简介 写入Excle文档 安装:pip3 install xlwt 导入:import xlwt xlrd 模块方法 写入案例 import xlwt # 创建对象,设置编码 workbook = xlwt.Workbook(encoding='utf-8') # 新建 阅读全文
posted @ 2020-06-07 18:42 小屁孩的觉悟 阅读(544) 评论(0) 推荐(0) 编辑
摘要: python中的xlrd模块 简介 读取Excle文档,支持xls,xlsx格式 安装:pip3 install xlrd 导入:import xlrd xlrd 模块方法 读取Excel file = 'route_info.xls' # 读取Excel信息,生成对象 read_book = xl 阅读全文
posted @ 2020-06-07 18:06 小屁孩的觉悟 阅读(338) 评论(0) 推荐(0) 编辑