calendar modules

Bengt Richter bokr at oz.net
Wed Nov 13 14:58:32 EST 2002


On 13 Nov 2002 11:36:11 -0800, d_blade8 at hotmail.com (Lemniscate) wrote:

>Absolutely correct.  However, you can save a teensy bit of typing by
>using prmonth instead.  For example:
>
>>>> calendar.prmonth(1976, 10)
>    October 1976
>Su Mo Tu We Th Fr Sa
>                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
>>>> 
>
>btw, I set the deafult first weekday to Sunday.
>>>> calendar.setfirstweekday(6)
>
>Have fun,
>
I tried. But checking the day of the week I was born
didn't work. This calendar seems limited to >= 1970-01-01
;-(

Regards,
Bengt Richter



More information about the Python-list mailing list