title: How to convert dateutil.relativedelta object to datetime.timedelta object?
body: <p>How can I convert a dateutil.relativedelta object to a datetime.timedelta object?</p>
  
  <p>e.g.,</p>
  
  <pre><code># pip install python-dateutil
  
  from dateutil.relativedelta import relativedelta
  from datetime import timedelta
  
  rel_delta = relativedelta(months=-2)
  # How can I convert rel_delta to a timedelta object so that I can call total_seconds() ?
  time_delta = ???(rel_delta)  
  time_delta.total_seconds()  # call the timedelta.total_seconds() method
  </code></pre>