Popular recipes tagged "eta"http://code.activestate.com/recipes/tags/eta/2010-04-18T21:11:40-07:00ActiveState Code RecipesPrecise console progress meter with ETA calculation (Python) 2010-04-18T21:11:40-07:00Denis Barmenkovhttp://code.activestate.com/recipes/users/57155/http://code.activestate.com/recipes/577002-precise-console-progress-meter-with-eta-calculatio/ <p style="color: grey"> Python recipe 577002 by <a href="/recipes/users/57155/">Denis Barmenkov</a> (<a href="/recipes/tags/console/">console</a>, <a href="/recipes/tags/eta/">eta</a>, <a href="/recipes/tags/meter/">meter</a>, <a href="/recipes/tags/progress/">progress</a>). Revision 13. </p> <p>After several attempts to use third-party modules I wrote my own console progress meter.</p> <p>Bonus list:</p> <ol> <li>calculation of ETA based on last update points. More accuracy when comparing with calculation ETA based on process start time (process can survive after Hibernate, but ETA has lost his accuracy)</li> <li>ability to write progress meter to sys.stderr</li> <li>update_left() method for multithreaded programs :)</li> </ol>