[Baypiggies] Help ! How to exchange python objects between two python processes on the same machine ?
Bill Janssen
janssen at parc.com
Fri Jul 10 18:58:45 CEST 2009
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.
Bill
More information about the Baypiggies
mailing list