En Wed, 07 Oct 2009 08:16:19 -0300, Stephane Wirtel <steph...@openerp.com> escribió:

I have a problem with locale.RADIXCHAR, it seems this constant isn't defined on the Windows platform.

Is there a way to use an equivalent of locale.RADIXCHAR ?

You can obtain that info from localeconv, available on Windows too:

py> import locale
py> locale.localeconv()['decimal_point']
'.'
py> locale.setlocale(locale.LC_ALL, '')
'Spanish_Argentina.1252'
py> locale.localeconv()['decimal_point']
','

--
Gabriel Genellina

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

Reply via email to