Detailed information about this class can be found in Timer.
Timer
The following example showcases a simple stopwatch application.
import time initial_time=time.time() #time.time() gets the system time tick time.sleep(3) # simulate 3 seconds time off end_time=time.time() difference = end_time-initial_time print() print("\nthe time difference [in second] is:", difference)