Mehet floattal, mert a % is és a time.sleep() is kezeli: import time time.sleep(3600.0 - time.time() % 3600.0) -- $ grep -c egy$ word.list 100