[Tutor] compile time calculator
Surya K
suryak at live.com
Fri Jan 27 16:46:35 CET 2012
Hi,
I want to calculate compile time for my puzzles. Although I read about timeit(), I didn't really understand how it should be applied it.So, can anyone write a function for me please!!
I am looking for a function which should solve my puzzle and also show compile time. (Later, I should be able to delete that function before submitting my code)
The following way is what I am exactly looking at:
define a compile time function such that it should take all my puzzle code and provide compile time for it.
(I think timeit() should be called at each statement, which is not flexible, don't know exactly.)
can anyone write a program for me? please...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120127/3a6b4c64/attachment.html>
More information about the Tutor
mailing list