import xlrd #Get
the object of the table excel = xlrd.open_workbook('a.excel') #Get all the tables in all excel table_list = excel.sheets() table1 = tables[0] #Get the number of rows in the table nrows = table1.nrows #Get the content of each row value_list = table1.row_values (number of rows: int)