> -----Original Message----- > From: [EMAIL PROTECTED]
> How can I access partial seconds on the system clock? What is wrong with time.time()? >>> import time >>> time.time() 1160578386.0109401 >>> time.time() 1160578386.87324 >>> time.time() 1160578387.5790291 >>> x = time.time() >>> y = time.time() >>> z = y-x >>> z 4.6488111019134521 The difference between x and y is the number of seconds between 'polling's of the OS. There are some issues with precision. The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. -- http://mail.python.org/mailman/listinfo/python-list