Python Code for List of Month Names starting with current month
Instead of hard-coding month names - delegate all the work to respective libraries.

I would suggest 2 approaches:


calendar.month_abbr

from datetime import datetime
from calendar import month_abbr

def get_forward_month_list():
    month = datetime.now().month   # current month number
    return [month_abbr[(month % 12 + i) or month] for i in range(12)]

dateutil.relativedelta.relativedelta

from datetime import datetime, timedelta
from dateutil.relativedelta import relativedelta

def get_forward_month_list():
    now = datetime.now()
    return [(now + relativedelta(months=i)).strftime('%b') for i in range(12)]





Both approaches will return the expected/needed list of month names:

print(get_forward_month_list())
['Dec', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov']