'Prints a Today/Last 24 hour stats section.'

def _print_daily_stats(self, conn):

    stats = conn.get_send_statistics()
    stats = stats['GetSendStatisticsResponse']['GetSendStatisticsResult']
    stats = stats['SendDataPoints']
    today = datetime.date.today()
    yesterday = (today - datetime.timedelta(days=1))
    current_day = {'HeaderName': ('Current    Day:    %s/%s' % (today.month, today.day))}
    prev_day = {'HeaderName': ('Yesterday:    %s/%s' % (yesterday.month, yesterday.day))}
    for data_point in stats:
        if self._is_data_from_today(data_point):
            day_dict = current_day
        else:
            day_dict = prev_day
        self._update_day_dict(data_point, day_dict)
    for day in [current_day, prev_day]:
        print ('---    %s    ---' % day.get('HeaderName', 0))
        print ('        Delivery    attempts:    %s' % day.get('DeliveryAttempts', 0))
        print ('        Bounces:    %s' % day.get('Bounces', 0))
        print ('        Rejects:    %s' % day.get('Rejects', 0))
        print ('        Complaints:    %s' % day.get('Complaints', 0))
