Re: grouping in module 'locale'

2008-01-26 Thread Gabriel Genellina
En Fri, 25 Jan 2008 14:46:13 -0200, Roman Bertle <[EMAIL PROTECTED]> escribi�: > I try to format monetary values using the locale module, python2.5: locale.localeconv() > {... 'mon_thousands_sep': ' ' locale.currency(1234.5678, grouping=True, symbol=False) > '1234,57' > > As you can s

grouping in module 'locale'

2008-01-25 Thread Roman Bertle
Hello, I try to format monetary values using the locale module, python2.5: Python 2.5.2a0 (r251:54863, Jan 3 2008, 17:59:56) [GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale