[Python-ideas] Rough draft: Proposed format specifier for a thousands separator (discussion moved from python-dev)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 15 22:33:44 CET 2009


Antoine Pitrou wrote:
> Greg Ewing <greg.ewing at ...> writes:
> 
>>If that's an acceptable thing to do on a daily basis,
>>then we don't need format strings at all.

Because you can do all your formatting by calling a
function to format each number and then concatenating
the results with whatever other text you want.

You can do that now, but someone invented format
strings, so they must have wanted a more convenient way
of going about it.

-- 
Greg




More information about the Python-ideas mailing list