Neat Parallel Output in Python
11–20 of 47 posts
Re: Neat Parallel Output in Python
#12Re: Neat Parallel Output in Python
#13Re: Neat Parallel Output in Python
#14Having good features to support this in standard libraries would go a long way to incentivizing devs to actually parallelize.
Re: Neat Parallel Output in Python
#15Re: Neat Parallel Output in Python
#16Re: Neat Parallel Output in Python
#17clever! will have to see if this works with tqdm progress bars, has anyone tried that?
Re: Neat Parallel Output in Python
#18I prefer using a purpose-built tool like GNU parallel. Parallel's only purpose is to run things in parallel and collect the results together. The advantage is you only have to learn to use it once, rather than learn to do this again and again in all the different languages/tools you might use.
Also do you really use parallel from software trying to parallelise its internal workload? Note that in tfa the workers are an implementation detail of a wider program.
Re: Neat Parallel Output in Python
#19clever! will have to see if this works with tqdm progress bars, has anyone tried that?
tqdm 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.
https://github.com/tqdm/tqdm/issues/1000#issuecomment-184208... https://github.com/tqdm/tqdm/issues/811#issuecomment-1368850...
Re: Neat Parallel Output in Python
#20https://pythondialog.sourceforge.io/images/screenshots/mixed...