[Python-Dev] PEP 215 redux: toward a simplified consensus?

Guido van Rossum guido@python.org
Mon, 25 Feb 2002 17:05:59 -0500


> > Does anybody ever even use something other than `s' for %() strings?
> > 
> > >>> '%(float)f' % {'float': 3.9}
> > '3.900000'

I never use this in combination with named variables, but I often
write timing programs that format times using "%6.3f" to get
millisecond precision.

--Guido van Rossum (home page: http://www.python.org/~guido/)