Sending Python statement over socket in chunks

Jeffrey Barish jeff_barish at earthlink.net
Mon Feb 11 19:26:38 EST 2008


Diez B. Roggisch wrote:

> Stop reinventing the wheel, start using pyro. Then either return the
> list as whole, or if it really is to big, return subsequent slices of it.

I am using Pyro.  Great package.  The problem is getting the chunks to send. 
I am trying to avoid executing the statement, so I have to carve up the
list as source.  Using Pyro to send the chunks once I have them should work
fine.  Note that I am avoiding the use of the term "slice".  It is not
possible to slice the list in the way that we normally do in Python because
it is still in the form of a string.
-- 
Jeffrey Barish




More information about the Python-list mailing list