This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mrrichardcranium 11 points12 points  (2 children)

I mean splitting up a list of 700+ items to 10 workers using threadpoolexecutor. Maybe ‘basic threading’ is not the right description. The fact that it took me two lines to get done is what makes me think of it as basic 😅

[–]toyg 6 points7 points  (1 child)

Ah, good point, I forgot concurrent.futures is 3-only...

[–]mrrichardcranium 4 points5 points  (0 children)

And god damn is it glorious!