I am playing with Python\'s calendar module that\'s in the standard library. Basically I need a list of all days of a month, like so:
>>> import cal
Ha! Found an easy way to get localized day/month names:
>>> import locale >>> locale.setlocale(locale.LC_ALL, 'de_DE') 'de_DE' >>> import calendar >>> calendar.month_name[10] 'Oktober' >>> calendar.day_name[1] 'Dienstag'