Here's a fourth way I've seen, that I forgot to mention (mostly a variation of
Solution 2, above):
```
delta = datetime.strptime('05:20:25', '%H:%M:%S') -
datetime.strptime('00:00:00', '%H:%M:%S')
```
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/XSKKTFIO63YAJ3WLZFB3RU3SSR2K5FTI/
Code of Conduct: http://python.org/psf/codeofconduct/