(date, days=1)
Return a date with some days added
Return a date with some days added
Return a date with some days added
def add_days(date, days=1):
    '''Return a date with some days added'''
    span = timedelta(days=days)
    try:
        return date + span
    except:
        return datetime.strptime(date, '%m/%d/%Y').date() + span
def add_days ( date , days = 1 ) : span = timedelta ( days = days ) try : return date + span except : return datetime . strptime ( date , '%m/%d/%Y' ) . date ( ) + span