What I am trying to do
I am trying to design a stopwatch with lap timing. When you press \"L\" then a lap is completed and when you press \"S\" all
If you are asking about how to read input without input, you probably are looking for binding This requires a Tkinter window, I believe.
lapEnded = bind_all("", endLap)
stopRunning = bind_all("
Then, you define the functions endLap
and noMoreRunning
, which do their functions.
Depending on your version of Tkinter and/or Python, bind_all
may simply be bind
.
Hope this answers your question.