Simple textual calendar

ostra pikula ostra.pikula at
Mon Nov 3 14:14:00 CET 2008

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.


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.

More information about the Python-list mailing list