import time thistime = time.time() # Here's an idea! def CountTime(): while(True): time.sleep(1) print(thistime) CountTime()