I have been using process_map from tqdm.contrib.concurrent : https://tqdm.github.io/docs/contrib.concurrent/
How can I set a description with the progress bar which changes in every iteration?
I have tried with: (stripped out a lot of code to simplify it here...)
from tqdm.contrib.concurrent import process_map
import tqdm
def myfunc(htmlfile):
tqdm.tqdm.set_description(htmlfile)
### function contents go here
r = process_map(myfunc, mylist, max_workers=16)
But I get AttributeError: 'str' object has no attribute 'desc'
Is it because process_map from tqdm.contrib.concurrent cannot be mixed with set_description from tqdm.tqdm ?