title: Weeks difference between two dates in python
body: <p>How do I get the differences between two valid dates in weeks. I have googled many, but none are the one that I have been looking for</p>
  
  <p>Say I have two dates:</p>
  
  <blockquote>
    <p><strong>02-Dec-2016</strong> and <strong>10-Jan-2017</strong>.</p>
  </blockquote>
  
  <p>I want it to provide me with output like following</p>
  
  <pre><code>02-Dec-2016 - 04-Dec-2016 (2 days) (2 days before monday comes)
  05-Dec-2016 - 08-Jan-2017 (5 weeks) (starts from monday-sunday)
  08-Jan-2017 - 10-Jan-2017 (2 days) (2 days after monday has gone)
  </code></pre>