programming-examples/python/Date/Display a calendar for a locale.py

3 lines
104 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import calendar
cal = calendar.LocaleTextCalendar(locale='en_AU.utf8')
print(cal.prmonth(2025, 9))