Top-rated recipes tagged "odometer"http://code.activestate.com/recipes/tags/odometer/top/2014-09-27T22:35:47-07:00ActiveState Code RecipesOdometer iterator (Python)
2014-09-27T22:35:47-07:00Tomas Nordinhttp://code.activestate.com/recipes/users/4189558/http://code.activestate.com/recipes/578944-odometer-iterator/
<p style="color: grey">
Python
recipe 578944
by <a href="/recipes/users/4189558/">Tomas Nordin</a>
(<a href="/recipes/tags/iterator/">iterator</a>, <a href="/recipes/tags/odometer/">odometer</a>, <a href="/recipes/tags/radix/">radix</a>).
Revision 2.
</p>
<p>A suggestion of an odometer implementation. Each "roll" in the odometer is defined by the caller. It is a list holding any objects, only the length of the list is important.</p>
<p>Can be good to have if something need to be tested in all possible combinations.</p>