[Python-Dev] string formatting options and removing basestring.__mod__ (WAS: Replacement for print in Python 3.0)

Bill Janssen janssen at parc.com
Wed Sep 7 01:28:02 CEST 2005


> Some languages have "picture" formats, where the structure
> of the format string more closely mimics that of the desired
> output. (This is true, e.g., of some Basics and of one variety
> of Perl output.) The trouble with this is that it limits how
> much information you can provide about *how* each value is
> to be formatted within the available space.

COBOL!  From the snippet Steven posted about C#, it seems to have a
mode of "custom number formatting" which is picture-based.

Bill


More information about the Python-Dev mailing list