title: How do I remove the microseconds from a timedelta object?
body: <p>I do a calculation of average time, and I would like to display the resulted average without microseconds.</p>
  
  <pre><code>avg = sum(datetimes, datetime.timedelta(0)) / len(datetimes)
  </code></pre>