[Tutor] Formatting Numbers as Strings 33000.50 -> 33,000.50

Sean 'Shaleh' Perry shaleh@valinux.com
Wed, 28 Mar 2001 09:38:03 -0800 (PST)


> 
> When I do that [actually, locale.setlocale(locale.LC_ALL,"us")] I get
> 'locale setting not supported.' What do I need to do to get it
> supported? I'm running debian and the 'locales' package is installed.
> 

because debian currently ships with locales support enabled but the actual
locales are not being generated (to save space/time at the request of our
users).  cd /etc/ and edit locale.gen, then run locale-gen as root.