title: Days/dates in a given week
body: <p>I'm trying to get a list with days in a given week.
  I can get the year and week.</p>
  
  <p>E.g.:</p>
  
  <pre><code>&gt;&gt;&gt; year, week, dow = datetime.today().isocalendar()
  &gt;&gt;&gt; week
  &gt;&gt;&gt; 39
  </code></pre>
  
  <p>I'd like to get the 7 days in the week 39.  For this year, 2015, I would get</p>
  
  <pre><code>[21, 22, 23, 24, 25, 26, 27]
  </code></pre>
  
  <p>As shown <a href="http://www.timeanddate.com/calendar/index.html?country=18&amp;year=" rel="nofollow noreferrer">here</a></p>
  
  <p><strong>Note</strong></p>
  
  <p>I've found lot's of questions asking for:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2600775/how-to-get-week-number-in-python">How to get number of week?</a></li>
  <li><a href="https://stackoverflow.com/questions/17277002/how-to-get-all-datetime-instances-of-the-current-week-given-a-day">Current week</a></li>
  </ul>
  
  <p>This is not a duplicate, I don't need the last 7 days and I already have the current week number.</p>
  
  <p>I need to get the 7 days in a given week, in this case, week 39. Thanks for your time.</p>