Skip to content

Tag: parallel-processing

How do I parallelize a simple Python loop?

This is probably a trivial question, but how do I parallelize the following loop in python? I know how to start single threads in Python but I don’t know how to “collect” the results. Multiple processes would be fine too – whatever is easiest for this case. I’m using currently Li…