title: Parsing a datetime string in python containing micro and milliseconds?
body: <p>How do I parse a datetime string that looks like:</p>
  
  <pre><code>2015-11-01 10:10:00 00:10:00
  </code></pre>
  
  <p>So far I have:</p>
  
  <pre><code>date_object = datetime.datetime.strptime(line, '%Y-%m-%d %H:%M:%S %f')
  </code></pre>
  
  <p>But then I get an error, </p>
  
  <pre><code>ValueError: unconverted data remains: :10:00 
  </code></pre>
  
  <p>And this is because it is not sure what to do with the rest of the datetime string because there is more than just microseconds there. Any ideas? Thanks!</p>