Calendar module: HTMLCalendar overrides style sheet settings

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Mar 27 21:24:56 EDT 2009


En Fri, 27 Mar 2009 17:48:33 -0300, Sibylle Koczian  
<nulla.epistola at web.de> escribió:

> Terry Reedy schrieb:
>> Calendar is an ancient and not-well-maintained module which may even
>> predate html.  (There have even been suggestions that it be dropped.)

(I would prefer it to be moved into the Tools directory)

> But the Calendar class and its subclasses, including HTMLCalendar, are
> new in Python 2.5?! I'll try to change the formatting a bit, shouldn't
> be a big thing, but who knows...

new in Python 2.5??????

Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import calendar
>>> calendar.prmonth(2009,3)
      March 2009
Mo Tu We Th Fr Sa Su
                    1
  2  3  4  5  6  7  8
  9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
>>>

-- 
Gabriel Genellina




More information about the Python-list mailing list