3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
6 from time import time as now
9 fn = open('testtime.out', 'r')
14 m = int((diff - h * 3600) / 60)
15 sec = diff - h * 3600 - m * 60
16 print '%02d:%02d:%02d %ds' % (h, m, sec, t-float(s))