[Tutor] get cpu time used by a python script

Alan Gauld alan.gauld at btinternet.com
Wed Feb 7 10:25:15 CET 2007


"Kim Branson" <kim.branson at gmail.com> wrote

> whats the simplest cross platform way of getting the cpu time used 
> by
> a python script?

Does the os.times() function give you enough?
Its not strictly cpu time...

Alan G. 




More information about the Tutor mailing list