How to get milliseconds delta in Python?
<p>I want to get the time delta between two timestamps: <code>time1</code> and <code>time2</code>, and the result should be shown in millseconds. For example:</p>

<pre><code>time1=17:00:00:121
time2=17:01:00:121
</code></pre>

<p>the result will be 60*1000=60000.</p>

<p>I can't find such a method in python (mostly shown in seconds), and <code>datetime.timedelta.total_seconds()</code> only returns seconds without the minus of minutes, hours and days.</p>

<p>So anyone can tell me how to make it, thanks!</p>