Python sleep for a long time precision -


i see many questions precision of time.sleep() in miliseconds, how perform, in lets 3600 * 24 seconds ( full day ) how precise be. offset few seconds or more significant ammount of time ? has tested on linux or windows ?

the precision limited :

  • the accuracy of system clock (it quartz should better 1 second day)
  • leap seconds if system synchronized official source - unlucky : 27 leap seconds since 1972 ...
  • the load of system not restart task

so cannot imagine how precision worse several seconds.


Comments