7

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? Which module I should use?

FaCoffee
  • 7,609
  • 28
  • 99
  • 174
vernomcrp
  • 3,459
  • 11
  • 34
  • 44

2 Answers2

7

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

Community
  • 1
  • 1
6

Have a look at the multiprocessing module.

Pär Wieslander
  • 28,374
  • 7
  • 55
  • 54