Popular recipes by Jakub Wroniecki http://code.activestate.com/recipes/users/4172837/2010-01-20T03:54:15-08:00ActiveState Code RecipesTechnique for cyclical iteration II (Python)
2010-01-20T03:54:15-08:00Jakub Wronieckihttp://code.activestate.com/recipes/users/4172837/http://code.activestate.com/recipes/577014-technique-for-cyclical-iteration-ii/
<p style="color: grey">
Python
recipe 577014
by <a href="/recipes/users/4172837/">Jakub Wroniecki</a>
(<a href="/recipes/tags/cyclic_iterator/">cyclic_iterator</a>, <a href="/recipes/tags/recursive_iterator/">recursive_iterator</a>).
</p>
<p>Inspired by this recipe: <a href="http://code.activestate.com/recipes/576961/" rel="nofollow">http://code.activestate.com/recipes/576961/</a>, I played a little with the code and came with a more general piece of code implementing recursive iterators.</p>