Benji York schrieb: > Jarek Zgoda wrote: > >> How do I get a list of localized month names for current locale? The >> first thing that came to my mind was an ugly hack: > > >>>> import locale >>>> locale.nl_langinfo(locale.MON_1) > 'January' >
What did you leave out? I get Traceback (most recent call last): File "<pyshell#3>", line 1, in -toplevel- locale.nl_langinfo(locale.MON_1) AttributeError: 'module' object has no attribute 'nl_langinfo' (Python 2.4, german Windows XP Pro) Moreover, 'January' is probably not localized. -- Dr. Sibylle Koczian Universitaetsbibliothek, Abt. Naturwiss. D-86135 Augsburg e-mail : [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list