ID EN
Calendar

month

Python 3.11

Returns a month’s calendar in a multi-line string using the formatmonth() of the TextCalendar class.

Syntax

PYTHON
calendar.month(theyear, themonth, w=0, l=0)

See Also

formatmonth() TextCalendar