On Thu, Jul 29, 2010 at 8:34 AM, Mahmood Naderan <nt_mahm...@yahoo.com> wrote: > the output should be 7600 (s) for example. What is the best and easiest way > to do that?
Take a look at time.clock() http://docs.python.org/library/time.html#time.clock "this is the function to use for benchmarking Python or timing algorithms." -- http://mail.python.org/mailman/listinfo/python-list