import time def timer(): now = time.localtime(time.time()) return now[5] run = raw_input(\"Start? > \") while run == \"start\": minutes = 0 current_
You're probably looking for a Timer object: http://docs.python.org/2/library/threading.html#timer-objects