David,

> timeInterval = 0.0003
> time.sleep(timeInterval - (time.perf_counter() % timeInterval))

Possibly: any reason for the performance counter modulo the interval ?

Regards,
Rudy Wieser


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to