I\'m trying to ucreate a timer function that runs in the background of my code and make it so I can use/check the time. What I mean by use/check, I\'m trying to make it so I can
import time def timer(tim): time.sleep(1) print tim def hall(): tim = 15 while (tim > 0): print 'do something' timer(tim) tim-=1
Not the cleanest solution, but it will do what you need.