Easy way to print numbers with thousand separators?

John Villalovos john at nwjohn.jf.intel.com
Fri May 12 14:23:41 EDT 2000


Thanks!

I'll try that.

John

In article <391C4B81.D90F27E8 at fenx.com>,  <emile at fenx.com> wrote:
><<apologies to those who get this twice - I mis-posted to the tutor
>list>>
>
>John,
>
>This is because your copy of python was compiled without _locale
>support.
>
>You'll need to recompile to fix this.  This is how I do it on my RH6
>system.
>in dist/src/Modules, modify Setup by removing the leading # in the line:
>
>#_locale _localemodule.c # access to ISO C locale support
>
>I update python to the CVS version every couple of weeks.  I've got an
>update
>script in /usr/src/python that reads:
>cvs -z6 -q up -P -d
>cd dist/src
>make clean
>./configure --with-thread --prefix /usr
>make
>make test
>make install
>
>If you've installed the sources, you should be able to recompile
>starting
>with 'make clean' and on from above.
>
>If recompiling isn't a real option, you'll need to adapt some code to 
>do the formatting.  see http://deja.com/getdoc.xp?AN=588167809 for a
>start.
>
>HTH,
>
>Emile van Sebille
>emile at fenx.com



More information about the Python-list mailing list