Utilising multi tread processing

I am working my way through the Python book which I have found very good. I am also learning about data processing for large data files and have read that Python due its single thread processing ability, only utilises one core of multi core processors. Is there a way to structure a program so that the full benefits of multi core processors can be exploited?

There is a library: threading — Thread-based parallelism — Python 3.8.11 documentation

Used like this:



1 Like

Thanks for this, I was hoping there was a way around this issue.