Here's the code used in this example.
import time
import glob
import tqdm
pbar = tqdm.tqdm(glob.glob("logs/*.txt"))
for file in pbar:
pbar.set_description(file)
time.sleep(0.5)
tqdm: files and descriptions
Here's the code used in this example.
import time
import glob
import tqdm
pbar = tqdm.tqdm(glob.glob("logs/*.txt"))
for file in pbar:
pbar.set_description(file)
time.sleep(0.5)