开发者

how to run parallel job in python

I am doing a data mining project in Python, and during the experiment phase I have to run many experiments at the same time. How could I create n processes, so that each process is dedicated to an experiment开发者_JAVA技巧? Which module I should use?


Have a look at Does python support multiprocessor/multicore programming?

Then look at http://wiki.python.org/moin/ParallelProcessing for more options

but generally python multiprocessing(http://docs.python.org/library/multiprocessing.html) module will be enough


Have a look at the multiprocessing module.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜