re: Multiprocessing vs. Multithreading in Python: What you need to know. VIEW POST

FULL DISCUSSION
 

Thanks for the article!

Bonus mentions: ThreadPoolExecutor and ProcessPoolExecutor - they allow you to easily create a pool of threads (the first) or processes (the latter) and to submit work to them.

You can also do something similar with multiprocessing.Pool if you use processes.

code of conduct - report abuse