Issue
How do I implement a progress bar in jupyter-notebook?
I've done this:
count = 0
max_count = 100
bar_width = 40
while count <= max_count:
time.sleep(.1)
b = bar_width * count / max_count
l = bar_width - b
print '\r' + u"\u2588" * b + '-' * l,
count += 1
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?
Solution
Take a look at this open-source widget: log-process
Answered By - 0x60
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.