[Baypiggies] Help ! How to exchange python objects between two python processes on the same machine ?
harish.mallipeddi at gmail.com
Fri Jul 10 19:21:31 CEST 2009
On Fri, Jul 10, 2009 at 10:28 PM, Bill Janssen <janssen at parc.com> wrote:
> David Berthelot <d_berthelot at yahoo.com> wrote:
> > Ok, I'm trying to send some python objects from one Python process to
> another, on the same machine.
> Try "mmap", for inter-process, and "Queue", for intra-process (between
> threads). Both in the standard library. Probably want to pickle the
> data before writing it -- use a Pickler on the write side, and an
> Unpickler on the read side.
You could also use "processing" to exchange objects between processes.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies