sample_prb.py
import time
from tqdm import tqdm
#Dors simplement
for _ in range(100):
time.sleep(0.1) # 0.Dormir 1 seconde
#Afficher la progression
for _ in tqdm(range(100)):
time.sleep(0.1)
for _ in tqdm(range(50)):
time.sleep(0.1)
Recommended Posts