Python: Good place to learn about `multiprocessing.Manager`?

Ram Rachum picture Ram Rachum · Apr 11, 2009 · Viewed 34.4k times · Source

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?

Answer

Manuel picture Manuel · Apr 12, 2009

The documentation of multiprocessing.Manager contains extensive examples for using a Manager and the various objects associated with the calss:

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?