[Baypiggies] Help ! How to exchange python objects between two python processes on the same machine ?
d_berthelot at yahoo.com
Fri Jul 10 19:40:49 CEST 2009
Thanks for all the answers, I forgot to mention that the speed of transfer between processes is an import factor, so hard-disk files are out of the question.
So I'm going to look into 3 proposed solutions:
1. mmap [+ cpickle]
3. xmlrpc (this one is least clear to me, it looks like it needs some server to run, I just need to look more into it).
From: Aahz <aahz at pythoncraft.com>
To: baypiggies at python.org
Sent: Friday, July 10, 2009 10:29:23 AM
Subject: Re: [Baypiggies] Help ! How to exchange python objects between two python processes on the same machine ?
On Fri, Jul 10, 2009, Harish Mallipeddi wrote:
> You could also use "processing" to exchange objects between processes.
That's the same thing as the module multiprocessing, for versions of
Python prior to 2.6.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"as long as we like the same operating system, things are cool." --piranha
Baypiggies mailing list
Baypiggies at python.org
To change your subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies