title: tuple of datetime objects in Python
body: <p>I want to write a function that returns a tuple of (start,end) where start is the Monday at 00:00:00:000000 and end is Sunday at 23:59:59:999999. start and end are datetime objects. No other information is given about day, month or year. i tried this function</p>
  
  <pre><code>def week_start_end(date):
   start= date.strptime("00:00:00.000000", "%H:%M:%S.%f")
   end = date.strptime("23:59:59.999999", "%H:%M:%S.%f")
  return (start,end)
  
  print week_start_end(datetime(2013, 8, 15, 12, 0, 0))
  </code></pre>
  
  <p>should return (datetime(2013, 8, 11, 0, 0, 0, 0), datetime(2013, 8, 17, 23, 59, 59, 999999))</p>
  
  <p>but the function returns tuple with dates (datetime.datetime(1900, 1, 1, 0, 0), datetime.datetime(1900, 1, 1, 23, 59, 59, 999999))</p>