Convert string into datime.time, error?
<p>I am getting time data in string format like this, 'HH:MM', for example '13:33' would be 13 hours and 33 minutes.</p>

<p>So, I used this code to get time object and it works great</p>

<pre><code>datetime.datetime.strptime('13:33', '%H:%M').time()
</code></pre>

<p>However, I now have new problem.New strings started coming in representing more than 24 hours and <code>datetime.datetime.strptime('25:33', '%H:%M').time()</code> will simply fail.What's your suggestion?</p>
