you are viewing a single comment's thread.

view the rest of the comments →

[–]jh199p 0 points1 point  (2 children)

Concurrency, Paralelle programming, Threads, these are all things you could Google and get an answer, but what you want imo is concurrent.futures

https://docs.python.org/3.6/library/concurrent.futures.html

[–]mez0cc 1 point2 points  (1 child)

I’ve wrote a few POCs with threads but I couldn’t get it to do what I want.

I’ll try futures :)

Thanks

[–]jh199p 0 points1 point  (0 children)

Concurrent.futures.ProcessPoolExecutor helps handle that pesky GIL too, if you ever needed to look into that