from dateutil.relativedelta import relativedelta
import datetime
result = []
today = datetime.date.today()
current = datetime.date(2010, 8, 1)
while current <= today:
    result.append(current)
current += relativedelta(months=1)
Python: получить все месяцы в диапазоне?