title: Set precision for milliseconds in datetime string: Python
body: <p>I have a datetime string "2017-02-14T18:21:14.080+05:30".
  The code I used is</p>
  
  <pre><code>from dateutil.parser import parse
  print parse("2017-02-14T18:21:14.080+05:30")
  </code></pre>
  
  <p>The datetime.datetime object I get is</p>
  
  <pre><code>2017-02-14 18:21:14.080000+05:30
  </code></pre>
  
  <p>Is there anyway python allows me to set the precision of the milliseconds value displayed before timezone info to 3 in order to get the output as</p>
  
  <pre><code>2017-02-14 18:21:14.080+05:30
  </code></pre>