2009/10/14 Valerio Pachera <siri...@gmail.com>:
> Mi sapete dire anche perchè
> time.time()
> NON restituisce un numero intero?? Esso dovrebbe essere il nuemero di
> secondi dalla epoc time!

Infatti lo e`. Ma non e` scritto da nessuna parte che debba essere il
numero *intero* di secondi dall'epoca :D
anzi,

>>> import time
>>> help(time.time)

Help on built-in function time in module time:

time(...)
    time() -> floating point number

    Return the current time in seconds since the Epoch.
    Fractions of a second may be present if the system clock provides them.


©
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a