Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

loading bar python

from time import sleep
from tqdm import tqdm
for i in tqdm(range(10)):
    sleep(3)
#60%|██████    | 6/10 [00:18<00:12,  0.33 it/s]
#Also, there is a notebook version:
from tqdm.notebook import tqdm
for i in tqdm(range(100)):
    sleep(3)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loading #bar #python
ADD COMMENT
Topic
Name
5+1 =