os.time()

Diez B. Roggisch deets at nospam.web.de
Tue May 30 05:25:02 EDT 2006


Anthony wrote:

> i have a problem with the os.times() command, on different Python
> versions, i get different printout:
<snip/>

> and on the 3 servers, the linux command: $date
> returns the same value.....
> 
> any suggestions???
> what is the command that gives me the actual time?

time.time(), not os.times(). The latter is for process-times. No idea why it
can become _negative, though.

Diez



More information about the Python-list mailing list