title: Python: Parse timestamp string with 7 digits for microseconds to datetime
body: <p>I have a timestamp string that looks like this:</p>
  
  <pre><code>2019-02-16T10:41:20.6080000+01:00
  </code></pre>
  
  <p>I have to parse it to datetime. Because there are 7 instead of 6 digits for microseconds the following format does not match:</p>
  
  <pre><code>timestamp = "2019-03-14T14:37:37.000000+01:00"
  parsed_timestamp = datetime.datetime.strptime(timestamp, "%Y-%m-%dT%H:%M:%S.%f%z") #ValueError: time data '2019-03-14T14:37:37.0000000+01:00' does not match format '%Y-%m-%dT%H:%M:%S.%f%z'
  </code></pre>
  
  <p>How can I parse this format?</p>