title: Compare 2 excel files using Python
body: <p>I have two <code>xlsx</code> files as follows:</p>
  
  <pre><code>value1   value2   value3
  0.456   3.456    0.4325436
  6.24654 0.235435 6.376546
  4.26545 4.264543 7.2564523
  </code></pre>
  
  <p>and </p>
  
  <pre><code>value1   value2  value3
  0.456   3.456    0.4325436
  6.24654 0.23546  6.376546
  4.26545 4.264543 7.2564523
  </code></pre>
  
  <p>I need to compare all cells, and if a cell from <code>file1 !=</code> a cell from <code>file2</code> <code>print</code> that.</p>
  
  <pre><code>import xlrd
  rb = xlrd.open_workbook('file1.xlsx')
  rb1 = xlrd.open_workbook('file2.xlsx')
  sheet = rb.sheet_by_index(0)
  for rownum in range(sheet.nrows):
      row = sheet.row_values(rownum)
      for c_el in row:
          print c_el
  </code></pre>
  
  <p>How can I add the comparison cell of <code>file1</code> and <code>file2</code> ?</p>