run a function in another processor in python

News123 news1234 at free.fr
Mon Dec 13 16:51:35 EST 2010


On 12/09/2010 10:54 AM, Astan Chee wrote:
> Hi,
> I've got a python script that calls a function many times with various
> arguments and returns a result. What I'm trying to do is run this
> function each on different processors and compile the result at the
> end based on the function result. The script looks something like
> this:
> 
> 
You could look at the multiprocessing module of
pythonhttp://docs.python.org/library/multiprocessing.html



More information about the Python-list mailing list