In [1]:
from time import sleep
from tqdm import tqdm_notebook
from ipypb import track, irange, ipb
In [2]:
for i in track(range(3)):
    for j in track(range(3), label='New Level'):
        sleep(0.4)
100% 3/3 [00:04<00:01, 1.22s/it]
New Level 100% 3/3 [00:01<00:00, 0.40s/it]
New Level 100% 3/3 [00:01<00:00, 0.40s/it]
New Level 100% 3/3 [00:01<00:00, 0.40s/it]
In [3]:
for i in irange(3):
    for j in irange(3, label='New Level'):
        sleep(0.4)
100% 3/3 [00:04<00:01, 1.22s/it]
New Level 100% 3/3 [00:01<00:00, 0.41s/it]
New Level 100% 3/3 [00:01<00:00, 0.40s/it]
New Level 100% 3/3 [00:01<00:00, 0.40s/it]
In [4]:
for i in tqdm_notebook(range(3)):
    for j in tqdm_notebook(range(3), desc='New Level'):
        sleep(0.4)

In [5]:
tqdm_notebook = ipb
In [6]:
for i in tqdm_notebook(range(3)):
    for j in tqdm_notebook(range(3), desc='New Level'):
        sleep(0.4)
100% 3/3 [00:04<00:01, 1.22s/it]
New Level 100% 3/3 [00:01<00:00, 0.41s/it]
New Level 100% 3/3 [00:01<00:00, 0.41s/it]
New Level 100% 3/3 [00:01<00:00, 0.40s/it]
In [ ]: