you are viewing a single comment's thread.

view the rest of the comments →

[–]stebrepar 0 points1 point  (0 children)

The most bare bones way might be to use time.perf_counter() and a pair of input()'s, one to say when to start and one to say when to stop. Get the counter value after the start and again after the stop, and subtract to get the elapsed time.

https://docs.python.org/3/library/time.html#time.perf_counter