Extract hours and minutes from a string python
<p>I have a string that is in the format of <code>'00:00'</code> displaying the time. It can be any time. I would like to extract the hours and minutes into individual variables.</p>