Win32 Decimal point/comma

Matthias Kirst matt at clondiag.com
Tue Jun 4 11:01:39 EDT 2002


*** post for FREE via your newsreader at post.newsfeed.com ***

Hi Kaci,

This little problem caused continious annoyances to me until I found the
locale module:

import locale

locale.setlocale( locale.LC_ALL, 'C' )
# sets portable locale -> point is decimal separator

Matt




 -----= Posted via Newsfeed.Com, Uncensored Usenet News =-----
http://www.newsfeed.com - The #1 Newsgroup Service in the World!
-----== 100,000 Groups! - 19 Servers! - Unlimited Download! =-----
                  



More information about the Python-list mailing list