>>731
>>> sec = 12345.12345
>>> print "%.3f" % (sec,)
12345.123