Getting milliseconds in Python
Brian Beck
exogen at gmail.com
Thu Feb 17 10:32:43 EST 2005
Curt wrote:
> Oh, you meant 'seconds / 100 = milliseconds'?
>
> (canard)
I assume you're suggesting that there are two typos in my original post
(the * and the 100)...
Despite a millisecond being a thousandth of a second, given the number
of seconds provided by the time module, he does have to *multiply* by a
thousand to get the number of milliseconds.
2 seconds * 1000 = 2000 milliseconds
So, aside from the 100 in the original post, it may look misleading, but
that is what he would need to do...
--
Brian Beck
Adventurer of the First Order
More information about the Python-list
mailing list