[Solved] Python time.sleep() being ignored in timer program

As others have commented the code as given in original question does correctly sleep in a properly configured environment, this answer addresses the logic issue in the time handling by using datetime. The timedelta from subtracting two datetimes does not provide hours and minutes so these are calculated from the seconds. import time, datetime,math d … Read more