How do I implement a progress bar
<p>How do I implement a progress bar in jupyter-notebook?</p>
<p>I've done this:</p>
<pre class="lang-py prettyprint-override"><code>count = 0
max_count = 100
bar_width = 40
while count &lt;= max_count:
    time.sleep(.1)
    b = bar_width * count / max_count
    l = bar_width - b
    print '\r' + u&quot;\u2588&quot; * b + '-' * l,
    count += 1
</code></pre>
<p>Which is great when I have access to a loop in which to print stuff out.  But does anyone know of anything clever to run a progress bar of some sort asynchronously?</p>