time data did not match error in strptime
<p>I'm converting a string into time object in python 2.4.</p>

<pre><code>d1 = time.strptime(d2, '%Y-%m-%d %H:%M:%S.%%')
</code></pre>

<p>Here d2 is <code>'2012-11-07 13:41:13.138807'</code></p>

<p>I'm getting the following error.</p>

<pre><code>ValueError: time data did not match format:  data=2012-11-07 13:41:13.138807  fmt=%Y-%m-%d %H:%M:%S.%%
</code></pre>

<p>Any solution?</p>
