Processing time

Oleg Broytmann phd at sun.med.ru
Sun Apr 11 09:41:34 EDT 1999


Hi!

On Sun, 11 Apr 1999, Frank de Bot wrote:
> How can I get the Processing time of a script?

from time import time
start_time = time()

Do_Processing()

end_time = time()
print "The program spents", end_time - start_time, "seconds"

Oleg.
---- 
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list