title: How to convert from Python date to Excel date using xlrd (attribute xlrd.xldate_from_date_tuple does not exist)
body: <p>How to convert from Python date to Excel date using xlrd module? <a href="https://stackoverflow.com/questions/9574793/how-to-convert-a-python-datetime-datetime-to-excel-serial-date-number">How to convert a python datetime.datetime to excel serial date number</a> suggests a 'manual' solution, I wonder if it is the best way.</p>
  
  <p><a href="http://www.lexicon.net/sjmachin/xlrd.html" rel="nofollow noreferrer">Xlrd document</a> suggests to use <code>xlrd.xldate_from_date_tuple</code></p>
  
  <p>but</p>
  
  <pre><code>&gt;&gt;&gt; import xlrd
  &gt;&gt;&gt; xlrd.xldate_from_date_tuple
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'module' object has no attribute 'xldate_from_date_tuple'
  </code></pre>
  
  <p>Could you help? Thanks.</p>