xlrd(开excel表格)

   打来表格  wb = xlrd.open_workbook('example.xlsx')

  选择sheet  sh=wb.sheet_by_index(序号)

  表格的行数  sh.nrows

  选取第m行第n列的格子的值  sh.cell(m,n).value

原文地址:https://www.cnblogs.com/jacklovelol/p/6146288.html