3 ms·
Oops, you're right, I was talking about parallelism, not just concurrency. Thanks for the correction. > Parallelism is achieved using multiprocessing. As I sa
by quietbritishjim 6y ago
Oops, you're right, I was talking about parallelism, not just concurrency. Thanks for the correction.
> Parallelism is achieved using multiprocessing.
As I said in my previous comment (but used the wrong term), threads are a perfectly reasonable way of getting parallelism in Python, so long so long your application uses C-based libraries like numpy (or even some built-in modules like zipfile). In my experience, the vast majority of Python programs that might need parallelism fall into that category (or are IO bound) anyway.