Re: IPC with multiprocessing.connection

2011-12-23 Thread Andrew Berg
On 12/23/2011 5:50 AM, bobicanprogram wrote: You might want to check out the code samples at: http://www.icanprogram.com/06py/lesson1/lesson1.html Let's see, I asked about a method in the multiprocessing module, and you recommend code snippets that run on Python versions that don't even have th

Re: IPC with multiprocessing.connection

2011-12-23 Thread bobicanprogram
On Dec 22, 3:27 pm, Andrew Berg wrote: > I'm trying to set up a system where my main program launches external > programs and then establishes connections to them via named pipes or > Unix domain sockets (depending on platform) with > multiprocessing.connection.Listener. The issue I'm having is wi

Re: IPC with multiprocessing.connection

2011-12-23 Thread Andrew Berg
On 12/23/2011 2:32 AM, Deepak Babu wrote: See if http://www.rsdcbabu.com/2011/02/multiprocessing-with-python.htmlhelps you. It doesn't. There is not even a mention of the connection submodule (plus it's Python 2, and I'm familiar enough with Python 2 to do a good job of porting to py3k). I don'

IPC with multiprocessing.connection

2011-12-22 Thread Andrew Berg
I'm trying to set up a system where my main program launches external programs and then establishes connections to them via named pipes or Unix domain sockets (depending on platform) with multiprocessing.connection.Listener. The issue I'm having is with the accept() method. If there is nothing on t