title: openpyxl, how to read cell type
body: <p>I have an xlsx data file and I want to know types of cells.
  I wrote this code:</p>
  
  <pre><code>from openpyxl import load_workbook
  
  wb = load_workbook('data.xlsx', data_only=True)
  list = wb['list']
  
  val1 = list.cell(row=1, column=1).value
  val2 = list.cell(row=2, column=1).value
  
  print "val1", val1, type(val1)
  print "val2", val2, type(val2)
  </code></pre>
  
  <p>But the result is:</p>
  
  <pre><code>val1 21:59:44 &lt;type 'datetime.time'&gt;
  val2 17:04:50 &lt;type 'unicode'&gt;
  </code></pre>
  
  <p>What is proper way to load cells types.</p>
  
  <p>The source of sample and data file is here:
  <a href="https://github.com/ombschervister/openpyxl_test" rel="nofollow">https://github.com/ombschervister/openpyxl_test</a></p>