会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
shmily3929
博客园
首页
新随笔
联系
订阅
管理
2018年4月16日
从excel 获取内容 模块:xlrd
摘要: import xlrd# 获取表的对象 excel = xlrd.open_workbook(‘a.excel’) # 获取所有excel里的所有表 table_list = excel.sheets() table1 =tables[0] # 获取表的行数 nrows = table1.nrows # 获取每一行的内容 value_list = table1.row_values(int)# ...
阅读全文
posted @ 2018-04-16 20:25 shmily3929
阅读(279)
评论(0)
推荐(0)
编辑
公告