views:

1164

answers:

2

I want to learn to use multiprocessing.Manager. I looked at the documentation but it's not easy enough for me. Anyone knows of a good tutorial or something like that?

+1  A: 

Hm, from a first glance, the documentation of multiprocessing.Manager seems decent:

Managers provide a way to create data which can be shared between different processes. A manager object controls a server process which manages shared objects. Other processes can access the shared objects by using proxies. [and so on]

Manager objects allow you to create variables shared in multiple processes. What is it that you exactly want to achieve? Maybe a request for an example would help?

Manuel
I also think the standard docs are quite illustrative, but isn't a tutorial, like he's seeking, basically a request for an example? :-)
Jarret Hardie
Well, I think that in the Pycon talk it was said that Managers can manage pools for you, also on remote computers. So I'd like a gentle introduction to that, if one exists.
cool-RR
A: 

This page has some great multiprocessing examples, including examples of how to use Manager. I found it really helpful in wrapping my head around multiprocessing.

Cheers, Noah

Noah