Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.086 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'json': 0.07; 'reply- to:addr:comp.lang.python': 0.09; 'sockets': 0.09; 'to:addr:comp.lang.python': 0.09; 'from:addr:miki.tebeka': 0.16; 'from:name:miki tebeka': 0.16; 'json,': 0.16; 'cc:addr:python- list': 0.16; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'format,': 0.24; '(like': 0.26; 'depends': 0.28; 'pass': 0.29; 'cc:addr:python.org': 0.29; 'subject:some': 0.30; 'xml': 0.31; 'header:User-Agent:1': 0.33; 'there': 0.33; 'received:209.85.212': 0.34; 'two': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'options': 0.37; 'received:209.85': 0.38; 'received:209': 0.40; 'your': 0.61; 'property': 0.63; 'here': 0.65; 'past.': 0.67; 'special': 0.68; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:googlegroups.com': 0.74; 'received:209.85.212.56': 0.91; 'received:mail- vw0-f56.google.com': 0.91 Newsgroups: comp.lang.python Date: Wed, 30 Nov 2011 13:22:25 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=207.171.18.139; posting-account=uo-8fwoAAACKsFzFX78JHudx1V7WDXZ0 References: User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: Need some IPC pointers From: Miki Tebeka To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: "comp.lang.python" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 4 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322688149 news.xs4all.nl 6888 [2001:888:2000:d::a6]:55288 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16451 There are two different problems. One is the medium to pass messages, sockets are good but there are other options and depends on your requirement you need to pick the best one. The other is serialization format, here you have marshal, pickle, JSON, XML and more. For me JSON over sockets works well in the past. It has the nice property that you can read messages without need for a special decoder (like in the case of marshal/pickle).