The tqdm function accepts the desc keyword, which will then include a text description of what the progress bar is doing. We should probably fetch the function name where tqdm is actually running and at least include this, like info = inspect.getouterframes(inspect.currentframe())[1].function then tqdm(iter, desc=info, ...).
The
tqdm
function accepts thedesc
keyword, which will then include a text description of what the progress bar is doing. We should probably fetch the function name wheretqdm
is actually running and at least include this, likeinfo = inspect.getouterframes(inspect.currentframe())[1].function
thentqdm(iter, desc=info, ...)
.