http://mf34jlghauz5pxjcmdymdqbe5pva4v24logeys446tdrgd5lpsrocmqd.onion/_modules/stem/util/str_tools.html
For instance, " 4h " would be " 4 hours " and " 1m " would become " 1 minute " . :: > > > time_label(10000) ' 2h ' > > > time_label(61, 1, True) ' 1.0 minute ' > > > time_label(61, 2, True) ' 1.01 minutes ' :param int seconds: number of seconds to be converted :param int decimal: number of decimal digits to be included :param bool is_long: expands units label :returns: **str** with human readable representation of the time " " " return _get_label ( TIME_UNITS , seconds , decimal , is_long ) [docs] def...