[Python] How to connect a Python program to an external clock to achieve microsecond precision?

Discussão em 'Python' iniciado por Stack, Março 27, 2025.

  1. Stack

    Stack Membro Participativo

    So, in my program I am trying to achieve microsecond precision, not only for counting purposes but also delays and sleep functions.

    I have tried all the functions like time.time or time.process_time_ns(), but because I am working on Windows, the precision is lacking ~16ms. So, my question is, could you change the default clock to an external one?

    Continue reading...

Compartilhe esta Página