1.读取Excel行数
index = workbook.sheet_by_index(0)# 根据索引或者名称获取sheet内容,获取名称、行数、列书
print('索引名称:'+str(index.name)+' 索引的行数'+str(index.nrows)+' 索引的列数'+str(index.ncols))
1.读取Excel行数
index = workbook.sheet_by_index(0)# 根据索引或者名称获取sheet内容,获取名称、行数、列书
print('索引名称:'+str(index.name)+' 索引的行数'+str(index.nrows)+' 索引的列数'+str(index.ncols))