time.sleep accuracy

Nick Collier nick at src.uchicago.edu
Fri Aug 18 12:27:11 EDT 2000


Hi,

I'm wondering if anyone knows how accurate time.sleep is? For example,
if I want to sleep for 50 milliseconds (time.sleep(.05)), what's the
actual margin or error? Is this os dependent? Anyone know for a Mac?

thanks,

Nick
-- 
Nick Collier
Social Science Research Computing
University of Chicago
http://repast.sourceforge.net



More information about the Python-list mailing list