Python : XLRD; compare the columns length
问题 I'm using xlrd to work on xls files. My xls file has got two columns and my requirement is to make sure both the columns have got equal number of rows. I learnt from help() that we have got a row_len() to look for the length of a row given with the index, but unable to find any for col_len . Can you please help with any Here is my code from xlrd import open_workbook spread_sheet=open_workbook("simple.xls") sheet1=spread_sheet.sheet_by_index(0) #validates the no of columns in the Spread sheet