Instale o TQDM
sudo pip3 install tqdm
Nels
sudo pip3 install tqdm
from tqdm import tqdm
for i in tqdm(range(10000)):
pass
from tqdm import tqdm
import time
#creates a bar object that can be increased manually:
p_bar=tqdm(total=10,desc="loading")
for a in range(10):
p_bar.update(1)#Manually increases the bar by 1 (You can change that value)
time.sleep(0.5)
p_bar.close()#Remember to close the progres bar
from tqdm import tqdm_notebook as tqdm
tqdm().pandas()
for x in tqdm(my_list):
# do something with x
from tqdm import tqdm
for i in tqdm(range(10000)):
...
from tqdm import tqdm
for i in tqdm((foo_, range_ ), position=0, leave=True):
pass