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

Aahz aahz at pythoncraft.com
Fri Jul 10 03:57:14 CEST 2009


On Thu, Jul 09, 2009, David Berthelot wrote:
>
> Ok, I'm trying to send some python objects from one Python process to another, on the same machine.
> 
> The problem is well defined and simple:
> 1. There are only 2 processes: 1 is always waiting, 1 is always sending.
> 2. As soon as a datastructure is fully sent by process1, process2 must receive it immediately (I mean there must be no buffering)
> 3. The processes can be given some data when they start (for example a port or something of that nature, or a filename).
> 4. They're on the same machine

http://docs.python.org/library/multiprocessing.html
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha


More information about the Baypiggies mailing list