Feb. 25, 2002
10:05 p.m.
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/)