calendar — Work with Dates — PyMOTW 3
Originally posted · 1 min read
The calendar module defines the Calendar class, which encapsulates calculations for values such as the dates of the weeks in a given month or year. In addition, the TextCalendar and HTMLCalendar classes can produce pre-formatted output.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.