FWIW, the multiprocessing module has a nice interface for this using the Pool class. And if you want to stick with threads rather than processes, ...
確定! 回上一頁