

def daysrange(first=None, second=None, wipe=False):
    '\n    get all days between first and second\n\n    :param first: datetime, date or string\n    :param second: datetime, date or string\n    :return: list\n    '
    (_first, _second) = (parse(first), parse(second))
    (_start, _end) = ((_second, _first) if (_first > _second) else (_first, _second))
    days_between = (_end - _start).days
    date_list = [(_end - datetime.timedelta(days=x)) for x in range(0, (first + 1))]
    if (wipe and (len(date_list) >= 2)):
        date_list = date_list[1:(- 1)]
    return date_list

dataset/ETHPy150Open shinux/PyTime/pytime/pytime.py daysrange/VarMisuse@99/184 `days_between`->`first`