3 ms·
Well I'm not here to debate the API cleanliness, I just wanted to point out to OP that Python can utilize multicore processors without threads ;) Here is the p
by 0x000xca0xfe 2y ago
Well I'm not here to debate the API cleanliness, I just wanted to point out to OP that Python can utilize multicore processors without threads ;)
Here is the part of multiprocessing I used:
with Pool() as p:
results = p.map(calc_func, file_paths)
So, pretty easy too IMO.