I want to do something like 2h35 + 0h56
in python. So this is what I tried :
>>> t1 = time(2, 35)
>>> t2 = time(0, 56)
>>> t3 = t1 + t2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'datetime.time' and 'datetime.time'
How can I add times on a time in Python ? All the subjects on Stackoverflow ask for add times on a date, but I just need time no date!
Thanks for your help