title: Howto calculate first date of week and last date for week in python
body: <p>I need Calculate dates for week in python</p>
  
  <p>I need this</p>
  
  <pre><code>year = 2012
  week = 23
  (a,b) = func (year,week)
  print a
  print b
  
  &gt;&gt;&gt;2012-04-06
  &gt;&gt;&gt;2012-06-10
  </code></pre>
  
  <p>Could you help me ?</p>