1#for jupyter lab, in anaconda prompt:
2conda install nodejs
3jupyter labextension list
4conda list widget
5
6pip install ipywidgets
7jupyter nbextension enable --py widgetsnbextension
8jupyter labextension install @jupyter-widgets/jupyterlab-manager
9
10#In Jupyter Lab Notebook:
11from tqdm.auto import tqdm, trange
12
1import tqdm
2iterator = tqdm.tqdm(range(100000000))
3for f in iterator:
4 if f > 100000000/4:
5 iterator.close()
6 break
7