how to share/access variables from multiprocessing target function

eryk sun eryksun at gmail.com
Wed May 3 10:44:29 EDT 2017


On Wed, May 3, 2017 at 2:04 PM, Iranna Mathapati
<iranna.gani28 at gmail.com> wrote:
> how to share/access the " global returndict_st_FP,returndict_st_RP" target
> function variables acors the  main program..

You can share a dict using a Manager.

https://docs.python.org/3/library/multiprocessing.html#managers



More information about the Python-list mailing list