elapsedtime

Convert string that was originally a `timedelta` back into a `timedelta` object in Python

Convert string that was originally a `timedelta` back into a `timedelta` object in Python Question: I have strings which were originally produced from timedelta objects like so: print(f'{my_delta}’). I have many of these statements logged (e.g. "12:21:00", "1 day, 0:53:00", "2 days, 9:28:00") and I simply want to parse these logged statements to convert back …

Total answers: 3

tkinter and time.sleep

tkinter and time.sleep Question: I am trying to delete text inside a text box after waiting 5 seconds, but instead the program wont run and does sleep over everything else. Also is there a way for me to just make my textbox sleep so i can run other code while the text is frozen? from …

Total answers: 2