5 ms·
clever! will have to see if this works with tqdm progress bars, has anyone tried that?
by huac 3y ago
clever! will have to see if this works with tqdm progress bars, has anyone tried that?
- masklinn 3y agotqdm has a position parameter which allows offsetting concurrent progress bars. It should work automatically for intra-process concurrency anyway. I don’t know if it works correctly with multiple processes though.
- huac 3y agoyeah my code needs to use multiprocessing, which does not play nice with tqdm. thanks for the tip about positions though, that helped me search more effectively and came up with two promising comments. unmerged / require some workarounds, but might just work: https://github.com/tqdm/tqdm/issues/1000#issuecomment-1842085328 https://github.com/tqdm/tqdm/issues/1000#issuecomment-184208... https://github.com/tqdm/tqdm/issues/811#issuecomment-1368850543 https://github.com/tqdm/tqdm/issues/811#issuecomment-1368850...
- masklinn 3y agoYeah frankly as an other commenter noted I’d probably use the parent process as orchestrator of IO in which case tqdm would work fine, for that sievific case at least.