title: python parsing a datetime with a timezone
body: <p>I am trying to parse an string from a log file in the format: <code>2011-06-27 10:29:56+0200</code></p>
  
  <p>If I use <code>datetime.datetime.strptime('%Y-%m-%d %H:%M:%S%z')</code> I get <code>ValueError("'z' is a bad directive in format '%Y-%m-%d %H:%M:%S%z'")</code> thrown</p>
  
  <p>How can I parse a date in this format?</p>