Popular recipes tagged "cui"http://code.activestate.com/recipes/tags/cui/2010-03-26T20:04:02-07:00ActiveState Code RecipesProgress Bar for Console Programs as Iterator (Python)
2010-03-26T20:04:02-07:00Michael Grünewaldhttp://code.activestate.com/recipes/users/4172244/http://code.activestate.com/recipes/576986-progress-bar-for-console-programs-as-iterator/
<p style="color: grey">
Python
recipe 576986
by <a href="/recipes/users/4172244/">Michael Grünewald</a>
(<a href="/recipes/tags/console/">console</a>, <a href="/recipes/tags/cui/">cui</a>, <a href="/recipes/tags/progress/">progress</a>).
Revision 6.
</p>
<p>A small proxy iterator showing a progress bar on the console. Only works with iterators that provide a length (i.e. <code>len(iterator)</code> must be defined).</p>