[Baypiggies] Help ! How to exchange python objects between two python processes on the same machine ?

Harish Mallipeddi 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.


Harish Mallipeddi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20090710/2ee581ad/attachment.htm>

More information about the Baypiggies mailing list