25 Feb
2002
25 Feb
'02
10:01 p.m.
"PP" == Paul Prescod
writes:
PP> "Barry A. Warsaw" wrote: >> >> ... Does anybody ever even use something other than `s' for >> %() strings? >>> '%(float)f' % {'float': 3.9} '3.900000' PP> Presumably numerical analysts do....and David Ascher once told PP> me he uses %d as a sanity type-check. I don't bother. %d I sometimes use, but I don't think I've ever (purposely) used %(var)d. -Barry