Popular recipes by Eddy Jacob http://code.activestate.com/recipes/users/4175057/2010-09-24T08:37:58-07:00ActiveState Code RecipesResettable Timer class (a little enhancement from python builtin Timer class) (Python)
2010-09-24T08:37:58-07:00Eddy Jacobhttp://code.activestate.com/recipes/users/4175057/http://code.activestate.com/recipes/577407-resettable-timer-class-a-little-enhancement-from-p/
<p style="color: grey">
Python
recipe 577407
by <a href="/recipes/users/4175057/">Eddy Jacob</a>
(<a href="/recipes/tags/reset/">reset</a>, <a href="/recipes/tags/resettable/">resettable</a>, <a href="/recipes/tags/timer/">timer</a>).
</p>
<p>A more simple resettable timer class, by adding few logic from python builtin Timer code.
the print statement in each function call is for debugging purposes only, to show if it works.</p>