title: Time difference in seconds (as a floating point)
body: <pre><code>&gt;&gt;&gt; from datetime import datetime
  &gt;&gt;&gt; t1 = datetime.now()
  &gt;&gt;&gt; t2 = datetime.now()
  &gt;&gt;&gt; delta = t2 - t1
  &gt;&gt;&gt; delta.seconds
  7
  &gt;&gt;&gt; delta.microseconds
  631000
  </code></pre>
  
  <p>Is there any way to get that as 7.631000 ? I can use time module, but I also need that t1 and t2 variables as DateTime objects. So if there is an easy way to do it with datettime, that would be great. Otherwise it'll look ugly:</p>
  
  <pre><code>t1 = datetime.now()
  _t1 = time.time()
  t2 = datetime.now()
  diff = time.time() - _t1
  </code></pre>