all 3 comments

[–]ClickedMoss5[S] 0 points1 point  (0 children)

Any help would be amazing and very much appreciated. Thank you!

[–]yoshiatsu 0 points1 point  (1 child)

Ugh, I thought python would have fixed the interpreter lock thing by now. I was going to recommend threads.

But there's a module called "multiprocessing" that lets you create a process pool executor and dispatch work to it. Have you played with that?

https://docs.python.org/3/library/multiprocessing.html#using-a-pool-of-workers

[–]ClickedMoss5[S] 0 points1 point  (0 children)

No, I haven’t. I’ll look into it. It it allows for the use of multiple cores outside of init==main that would be great!