I need to run a function 10 times a second in tkinter. Presently I use root.after(100, update_my_readings)
However, I bet after 1000000 cycles, it will be off due to cumulative error (say each was 99.83 ms). What matters is not that it is exactly 100ms each time, but that it stays in synch with the system time (within the second). Is this the best way to stay in sync with the system clock (such as 12:03:48) ?
I suppose I really want something to happen every 100ms of the system clock...but don't know how that's done using root.after.