title: Converting string to datetime with milliseconds and timezone - Python
body: <p>I have the following python snippet:</p>
  
  <pre><code>from datetime import datetime
  
  timestamp = '05/Jan/2015:17:47:59:000-0800'
  datetime_object = datetime.strptime(timestamp, '%d/%m/%y:%H:%M:%S:%f-%Z')
  print datetime_object
  </code></pre>
  
  <p>However when I execute the code, I'm getting the following error:</p>
  
  <pre><code>ValueError: time data '05/Jan/2015:17:47:59:000-0800' does not match format '%d/%m/%y:%H:%M:%S:%f-%Z'
  </code></pre>
  
  <p>what's wrong with my matching expression?</p>