questions re: calendar module

Peter Otten __peter__ at web.de
Sat Aug 1 07:51:02 EDT 2020


o1bigtenor wrote:

>>>> import calendar
>>>> print (calendar.calendar(2024,1,1,2,8))

> I would like to show something like 2024 through the end of 2028.

print("\n".join(cd.calendar(year) for year in range(2024, 2029)))




More information about the Python-list mailing list