26 Feb
2002
26 Feb
'02
6:05 a.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/)