How to run python script on multiple cores/threads (multiprocessing)

I’ve been looking for means of parallel execution in Python for quite a while. There’s a bunch of various libraries like Dask and Joblib Parallel. However using multiple threads won’t give you better performance due to the global interpreter lock called GIL. At the moment the best solution I’ve found is multiprocessing. It uses subprocesses … Read more