Range of valid years for calendar module?
jdcrane7 at yahoo.com
Mon Nov 15 16:44:00 CET 2004
Here's my calendar_for_specified_year.py.
# print any year's calendar from 1753 A.D. through at least 3999 A.D.
calendar.setfirstweekday(6) # sets first day of week to Sunday
year = int(raw_input("Year for which to print calendar: "))
I've been trying to find out the range of years for which it will give me
a valid calendar, and I've come up with "from 1753 to at least 3999". I
which seems to give calendars for years 1-3999.
Does anyone know the actual range for the calendar module?
More information about the Python-list