Is there any python script to read data from excel sheet in selenium python framework?
I have written below code but i don't think its completely right
def getcell(rows,cols):
table=list()
record=list()
for x in range(rows):
for y in range(cols):
record.append(SheetName.cell(x,y).value)
table.append(record)
record=[]
rows=rows+1
return table;
print(table)