calendar modules
Gerhard Häring
gerhard.haering at opus-gmbh.net
Wed Nov 13 10:44:16 EST 2002
In article <Pine.GSO.4.05.10211132330540.12310-100000 at sparc41.ee.cuhk.edu.hk>, Geiger Ho wrote:
> Hi all,
>
> Wondering around the modules, I find that "calendar" does not function
> well in MS Windows. When I type "calendar.month(2002,11)", it outputs a
> string
>
> ' November 2002\nMo Tu We Th Fr Sa Su\n 1 2 3\n 4 5 6
> 7 8 9 10\n11 12 13 14 15 16 17\n18 19 20 21 22 23 24\n25 26 27 28 29
> 30\n'
>
> but rather in proper formating.
Try "print calendar.month(2002, 11)" instead of the implicit repr that's called
in your case.
> This seems calendar module is not platform
It is.
--
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/
More information about the Python-list
mailing list