The Python calendar Module: Create Calendars With Python - Real Python
Briefly

Running python -m calendar with no arguments outputs a full year's calendar for the current year. To display the full calendar for a different year, pass in the integer representation of a year as the first argument of the calendar command.
The calendar module uses the current Gregorian calendar, extended indefinitely in both directions, and the ISO 8601 standard for exchanging date and time-related data.
Explore other methods in the calendar module for creating calendars as plain text or HTML markup representations, beyond displaying in the terminal.
Read at Realpython
[
]
[
|
]