apenwarr-redo/t/101-atime/tick

7 lines
144 B
Text
Raw Normal View History

#!/usr/bin/env python2
2011-03-10 14:31:52 -08:00
import time
t2 = int(time.time()) + 1.0
while 1:
t = time.time()
if t >= t2: break
time.sleep(t2 - t + 0.01)