At 03:37 AM 10/9/2007, Kent Johnson wrote: >Dick Moores wrote: >> return "%02d:%02d:%5.2f" % (hours, minutes, seconds) > >Try %05.2f > >The leading 0 is a 'conversion flag' that specifies zero-padding.
Huh. Thought I'd tried that. Guess not. Thanks, Kent! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor