[Baypiggies] Help ! How to exchange python objects between two python processes on the same machine ?
David Berthelot
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]
2. processing
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).
Thanks,
David
________________________________
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.
>
> http://pypi.python.org/pypi/processing
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:
http://mail.python.org/mailman/listinfo/baypiggies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20090710/d6dd97d1/attachment-0001.htm>
More information about the Baypiggies
mailing list