top | item 40726762

(no title)

justusw | 1 year ago

Good one! That's pretty much how I started and then ended up with Pomoglorbo instead. I have wanted the timer to integrate with timewarrior, and automatically time what I am working and also keep track of my breaks. Another issue is that when your computer sleeps, you'd want to keep counting seconds in the background, so time.sleep(1) will lose accuracy very quickly.

discuss

order

jbaber|1 year ago

You can use time.sleep in a loop to tick of seconds, but actually check the diff between now and start time to know how much time has passed.