Formatting a numerical string w/commas
Martin von Loewis
loewis at informatik.hu-berlin.de
Tue Feb 22 06:54:13 EST 2000
More information about the Python-list mailing list
Tue Feb 22 06:54:13 EST 2000
- Previous message (by thread): Formatting a numerical string w/commas
- Next message (by thread): Formatting a numerical string w/commas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hmmm.... this is actually interesting ;-) > > _locale seems to be built in on my windows box, but not on my linux > or hp boxes... As with all builtin modules relying on extended libraries: You'll have to specify which libraries you want by modifying Modules/Setup when compiling Python. With the _locale module, you only need the standard locale functions in the C library, so it should work on must current systems. Still, the Python installation mechanism is not autoconfiscated to the degree that it figures out what extension modules to use. Apparently, most Linux distributors don't think this function important enough to activate it by default - complain to your Linux vendor :-) As for Python on hpux, it is probably your own fault that it is not available. On Windows, these things are much easier, because only a single vendor decides what base libraries and functions are available ;-) and locale functions are part of that. Regards, Martin
- Previous message (by thread): Formatting a numerical string w/commas
- Next message (by thread): Formatting a numerical string w/commas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list