import calendar
from datetime import date
current_month_name = calendar.month_name[date.today().month]
# the variable will hold something like 'April'
#if you want the abbreviated version:
current_month_name_abbreviated = calendar.month_abbr[date.today().month]
# the variable will hold something like 'Apr' now instead of 'April'
calendar.month_name[2]
import datetime
x = datetime.datetime(2021, 3, 23)
print(x.strftime("%B"))