-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> "Brian" == Brian Beck <[EMAIL PROTECTED]> writes:
Brian> Man, this is the hottest topic on c.l.py since that Lazaridis
Brian> guy...
... which was really the point of my joke, even if it did belly flop
somewhat. This whole discussions brought to
Martin Christensen wrote:
A math teacher! A math teacher! My kingdom for a math teacher!
Martin
Man, this is the hottest topic on c.l.py since that Lazaridis guy...
--
Brian Beck
Adventurer of the First Order
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> "Brian" == Brian Beck <[EMAIL PROTECTED]> writes:
Brian> Despite a millisecond being a thousandth of a second [...]
A math teacher! A math teacher! My kingdom for a math teacher!
Martin
- --
Homepage: http://www.cs.auc.dk/~factotum/
GPG
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 *multip
On 2005-02-16, Brian Beck <[EMAIL PROTECTED]> wrote:
>>>
>>>seconds * 100 = milliseconds
>>
>>
>> are you sure you know what a millisecond is?
>>
>> (duck)
>
> Touché.
>
> But it was a typo.
Oh, you meant 'seconds / 100 = milliseconds'?
(canard)
--
http://mail.python.org/mailman/listinfo/pyt
Fredrik Lundh wrote:
Brian Beck wrote:
That IS what you want.
seconds * 100 = milliseconds
are you sure you know what a millisecond is?
(duck)
Touché.
But it was a typo.
--
Brian Beck
Adventurer of the First Order
--
http://mail.python.org/mailman/listinfo/python-list
Brian Beck wrote:
> That IS what you want.
>
> seconds * 100 = milliseconds
May I assume that this IS what you want ?
()___
()//__/)_()
||(___)//#/_/#/_/#/_/#()/||
|||#| |#|_|#|_|#|_|| ||
|||_|#|_|#|_|#|_|#||/||
|||#|_
Brian Beck wrote:
> That IS what you want.
>
> seconds * 100 = milliseconds
are you sure you know what a millisecond is?
(duck)
--
http://mail.python.org/mailman/listinfo/python-list
Title: RE: Getting milliseconds in Python
[Brian Beck]
#- seconds * 100 = milliseconds
Wht?
It really is
seconds = 1000 * milliseconds
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina: http://pyar.decode.com.ar
mjs7231 wrote:
This is no good, I am looking for milliseconds, not seconds.. as stated
above.
That IS what you want.
seconds * 100 = milliseconds
--
Brian Beck
Adventurer of the First Order
--
http://mail.python.org/mailman/listinfo/python-list
"mjs7231" <[EMAIL PROTECTED]> wrote:
> "Return the time as a floating point number expressed in seconds since
> the epoch, in UTC. Note that even though the time is always returned as
> a floating point number, not all systems provide time with a better
> precision than 1 second. While this functi
"This is no good, I am looking for milliseconds, not seconds.. as
stated
above. "
The docs are not very clear. I had the same issue when I was trying to
do the same thing, but the time and datetime modules return
milliseconds on my linux machines.
--
http://mail.python.org/mailman/listinfo/pytho
mjs7231 wrote:
> "Return the time as a floating point number expressed in seconds since
> the epoch, in UTC. Note that even though the time is always returned as
> a floating point number, not all systems provide time with a better
> precision than 1 second. While this function normally returns
>
> "mjs7231" == mjs7231 <[EMAIL PROTECTED]> writes:
mjs7231> This is no good, I am looking for milliseconds, not
mjs7231> seconds.. as stated above.
Well seconds/1000.0 = millseconds -- or are you worries about floating
point error?
7 >>> from datetime import datetime
8 >>> dt = date
"Return the time as a floating point number expressed in seconds since
the epoch, in UTC. Note that even though the time is always returned as
a floating point number, not all systems provide time with a better
precision than 1 second. While this function normally returns
non-decreasing values, it
mjs7231 wrote:
> I am trying to record how long an operation takes, but can't seem to
> find a function that will allow me to record the timestamp in
> milliseconds, maybe I am looking in the wrong place?
I have no idea where you look - but the time-module has IMHO a descriptive
enough name - so
Title: RE: Getting milliseconds in Python
[mjs7231]
#- I am trying to record how long an operation takes, but can't seem to
#- find a function that will allow me to record the timestamp in
#- milliseconds, maybe I am looking in the wrong place?
Use time.time().
>>> import
I am trying to record how long an operation takes, but can't seem to
find a function that will allow me to record the timestamp in
milliseconds, maybe I am looking in the wrong place?
--
http://mail.python.org/mailman/listinfo/python-list
18 matches
Mail list logo