I'm trying to make a stopwatch where it starts from 00:00:00 and stops when a certain method is called. The problem is that all the websites and videos i found are tutorials on adding real time into the window and not a actual timer/stopwatch. The ones that worked i also didn't know how to put in in my program. Please use the below code as an example to create the stopwatch. thanks.
from tkinter import *
root = Tk()
class Start:
def __init__ (self, master):
self.master = master
#code
def timer(self):
#start timer
def end(self):
#end timer
root.mainloop()