[Tutor] Comma Chameleon?
Lloyd Kvam
pythontutor@venix.com
Tue, 26 Mar 2002 08:43:04 -0500
PythonWin 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2000 Mark Hammond (MarkH@ActiveState.com) - see 'Help/About PythonWin' for further copyright information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'US')
'English_United States.1252'
>>> print locale.format('%s','123456789',1)
123,456,789
Actually, it may be a python version issue!
Sean 'Shaleh' Perry wrote:
>>I've had to use the "en_US" locale to get this to work:
>>
>>
>
> yeah, simple typo on his part.
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358
voice:
603-443-6155
fax:
801-459-9582