I have a variable which is <type \'datetime.timedelta\'> and I would like to compare it against certain values.
Assume I have these datatime variables: start_time, end_time, current_time I would like to know how much time left as percentage by checking current_time and the time delta between start_time and t
I\'ve got a timedelta. I want the days, hour开发者_JAVA百科s and minutes from that - either as a tuple or a dictionary... I\'m not fussed.
Here\'s my situation: import foo, bar, etc frequency = [\"hours\",\"days\",\"weeks\"] class geoProcessClass():