ostra pikula <[EMAIL PROTECTED]> writes:

> Hello everyone,
>
> please, I need your help. I'm a beginner in python and this is
> probably elemental to you, but represents quote a goggle for me.
>
> I'm trying to write out a calendar for a year, in this form (imaginary
> month below):
>       2008, February
>       Mon     Tue     Wed     Thu     Fri     Sat     Sun
>               01      02      03      04      05      06
>       07      08      09      10      11 ... et cetera
>       2008, March
>       ...
>       ...
>       ... (same as above, only for march)
>
>
> (don't know how this will come up in your newsreaders, but you get the
> general idea).
>
> I discovered datetime module, but I'm not sure how to do the actual
> calendar writeout (formatting). Please, if you could throw a tip or
> two, I'd be very grateful.
>
> Ostra
>
> p.s. This is not homework or anything in that direction. It's just I'm
> not a programmer, and so this and everything is still new to me.

Have your looked at the calendar module?

http://www.python.org/doc/2.5.2/lib/module-calendar.html

HTH

-- 
Arnaud
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to