How do i mnake a timer doesnt need to be displayed can be in the background. Ive attempted to make one but could get the rest of my code to run as the timer is running how do i mkae a timer thawt runs at the same time
def startTimer(end):
global timerNum
if end != True: #manering the timer
timerNum[2] = timerNum[2] + 1
if timerNum[2] == 60:
timerNum[2] = 0
timerNum[1] += 1
if timerNum[1] == 60:
timerNum[1] = 0
timerNum[0] += 1
root.title(str(timerNum))
root.after(1000, startTimer(False))