Subprocess with a Python Session?

Paul Boddie paul at boddie.org.uk
Fri Dec 8 11:30:16 EST 2006


Fredrik Lundh wrote:
> Paul Boddie wrote:
>
> > This is one of the more reliable methods since upon receiving a packet
> > "delimiter" the receiver knows that the data is complete.
>
> and for people who want <strong>RELIABLE</strong> and not just "at least
> not entirely unreliable", there's always:
>
>      http://cr.yp.to/proto/netstrings.txt

That's why I hedged my bets and put "one of the more" rather than "the
most" in that sentence. ;-) I've been using netstrings myself, although
I didn't know that they had that particular name.

> (if you control both ends, there's hardly ever any reason not to use
> netstrings.  they're trivial to generate from Python, and pretty simple
> to parse.).

Indeed.

Paul




More information about the Python-list mailing list