7stud wrote: > On Apr 15, 9:49 pm, James Stroud <[EMAIL PROTECTED]> wrote: >> py> t = timeit.Timer(stmt=s) >> py> print "%.2f usec/pass" % (1000000 * t.timeit(number=100000)/100000) >> 40.88 usec/pass >> > > What does this accomplish: > > 1000000 * t.timeit(number=100000)/100000 > > that the following doesn't accomplish: > > 10 * t.timeit(number=100000) >
I have no idea--copy and pasted from timeit documentation. James -- http://mail.python.org/mailman/listinfo/python-list