Rough draft: Proposed format specifier for a thousands separator

Paul Rubin http
Thu Mar 12 13:03:41 EDT 2009


Raymond Hettinger <python at rcn.com> writes:
> FWIW, posted a cleaned-up version of the proposal at
>   http://www.python.org/dev/peps/pep-0378/

It would be nice if the PEP included a comparison between the proposed
scheme and how it is done in other programs and languages.  For
example, I think Common Lisp has a feature for formatting thousands.
Spreadsheets like Excel probably have something similar.  Those
programs are pretty well evolved and probably address the important
real use cases by now.  It might be best to follow an existing example
(with adjustments for Pythonification as necessary) to the extent
possible.



More information about the Python-list mailing list