programming-examples/python/Date/Create a HTML calendar with data for a specific year and month.py

3 lines
109 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import calendar
htmlcal = calendar.HTMLCalendar(calendar.MONDAY)
print(htmlcal.formatmonth(2020, 12))