title: How to read data from excel sheet in python?
body: <p>Is there any python script to read data from excel sheet in selenium python framework?</p>
  
  <p>I have written below code but i don't think its completely right</p>
  
  <p>def getcell(rows,cols):</p>
  
  <pre><code>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;
  </code></pre>
  
  <p>print(table) </p>