[Guido] > 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. Note that you also use %(name)s with width, precision and justification modifiers. For example, this line is yours: s = "%(name)-20.20s %(sts)-10s %(uptime)6s %(idletime)6s" % locals()