I have time from Linux that is in hh: mm: sec, but hh can be more than 24 hours. Therefore, if the time is 1 day 12 hours, it will be 36:00:00. Is there a way to accept this format and easily create a time object?
What I really would like to do is take the required time, that is, 36:00:00, and the time when it was started at 4:46:23, and subtract them to get the remaining time. I decided that a temporary delta might be the most convenient way to do this in Python, but I will also be open to other suggestions.
Thanks.
python time timedelta
mcragun
source share