Get Month Name from Month Number with Python 3 in Terminal on Mac - DevPops-Inc/python GitHub Wiki

• Press the “command” key and spacebar to launch Spotlight Search, type “terminal” and select the “Terminal” application.

• Type python3 and press the “return” key to get into the Python 3 shell.

• Type import calendar and press the “return” key to import the calendar module.

• Type calendar.month_name[< month number >] and press the “return” key to get the month name from the month number.