python之表格数据读取

python  操作excel主要用到xlrd,xlwt这两个库,xlrd,是读取excel表,xlwt是写入表格 1.打开表格 table = xlrd.open("path_to_your_excel", 'rb') 一般时候需要进行判断,防止表格打开错误 try:     table = xlrd.open("path_to_your_excel", 'rb') except Excepti
相关文章
相关标签/搜索