title: How to Calculate the number of days in the year(s) between 2 dates in python
body: <p>For example:  </p>
  
  <pre><code>date 1 : 1 january 2000  
  date 2 : 17 november 2006  
  </code></pre>
  
  <p>I want to know how many days there are between date 1 and date 2 in the year 2000, 2001, ..., 2006
  so I need something that returns something like this (doesn't matter if it's in a list or something):<br>
  2000: 365, 2001: 365, ..., 2006: 320</p>
  
  <p>I've looked for something like this on the internet but that only turned up ways to calculate the number of days/months/years between 2 dates</p>