Casper da Costa-Luis

Results 737 comments of Casper da Costa-Luis

For a start we could truncate (discarding spillover). Proper handling though would need similar multiline tricks used by nested bars, but such trickery would have to remain compatible with nested...

Hope you know about `dynamic_ncols=True`. Anyway, for nested bars, presumably you'd want all overflowing bars to appear on dedicated multiple lines (so each bar spans one or more lines). Sounds...

I don't really know. My best suggestion is to create two or more bars, each with custom formats: ```python for x in tqdm(...): ... # becomes with tqdm(...) as line1:...

probably best to be done by end-user as I suggested: ```python from tqdm.auto import tqdm def multiline_tqdm(*args, **kwargs): kwargs = dict(bar_format="{l_bar}{bar}|{n_fmt}/{total_fmt}", **kwargs) with tqdm(*args, **kwargs) as line1: with tqdm(total=len(line1), bar_format="[{elapsed}

could you `fout.close()` just before your `pdb.set_trace()`?

might be the environment not supporting nested bars. Do nested bars work without multiprocessing?

@emgre Can you substitute `threading.Lock()` -> `multiprocessing.RLock()`

pycharm? might be #203 and https://github.com/tqdm/tqdm/#faq-and-known-issues

@raff7 you should see https://github.com/tqdm/tqdm#faq-and-known-issues if you're enumerating... essentially use `tqdm.contrib.tenumerate`