def change_time(all_time):
    """将时间以`时`, `分`, `秒` 的形式展现出来

    in: 12200  # type: int
    out: 1天12时37秒  # type: str
    """
    day = 24 * 60 * 60
    hour = 60 * 60
    minute = 60
    if all_time > day:
        days = divmod(all_time, day)
        return u"%d天 %s" % (int(days[0]), change_time(days[1]))
    elif all_time > hour:
        hours = divmod(all_time, hour)
        return u'%d时%s' % (int(hours[0]), change_time(hours[1]))
    else:
        minutes = divmod(all_time, minute)
        return u"%d分" % (int(minutes[0]))