PEP 378: Format Specifier for Thousands Separator

Skip Montanaro skip at pobox.com
Tue May 21 15:13:05 EDT 2013


> Thank you, but let me rephrase it. I'm already using str.format() but I'd like to use '%' (BINARY_MODULO) operator instead.

That's unlikely to change.  If not deprecated already string
interpolation using the modulo operator has lost favor to the string
object's format method.

You might be able to get by with a change of your LOCALE setting
and/or a peek at the documentation for the locale module.

Skip



More information about the Python-list mailing list