[Python-Dev] Formatting mini-language suggestion

Raymond Hettinger python at rcn.com
Thu Mar 12 01:47:58 CET 2009


The current formatting mini-language provisions left/right/center alignment, prefixes for 0b 0x 0o, and rules on when to show the 
plus-sign.  I think it would be far more useful to provision a simple way of specifying a thousands separator.

Financial users in particular find the locale approach to be frustrating and non-obvious.  Putting in a thousands separator is a 
common task for output destined to be read by non-programmers.


Raymond 



More information about the Python-Dev mailing list