calendar.Calendar.yeardatescalendar()

yeardatescalendar(year, width=3)

Return the data for the specified year ready for formatting. The return value is a list of month rows. Each month row contains up to width months (defaulting to 3). Each month contains between 4 and 6 weeks and each week contains 1–7 days. Days are datetime.date objects.

doc_python
2016-10-07 17:28:16
Comments
Leave a Comment

Please login to continue.