<br>You probably need a recursive algorithm to be fully general, and yes, looking at pickle might be a good place to start.  Note that pickle can't pickle everything, but it can handle most things.<br><br>Also check out NX - not the CPU feature, but the (re)transmission compressing software (there are two different things with the name "NX").  NX is remarkably good at dealing with things like VNC sessions with virtual desktops, as long as you don't throw a movie at it - and it's more general than just doing VNC.<br>
<br>Note that sometimes computing a diff and sending the differences may end up being slower than transmitting the whole object.<br><br>You might also check out pyro and similar tools.<br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 12:50 PM, Croepha <span dir="ltr"><<a href="mailto:croepha@gmail.com">croepha@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Python list:<br>
<br>
I am doing research into doing network based propagation of python<br>
objects.  In order to maintain network efficiency. I wan't to just<br>
send the differences of python objects, I was wondering if there<br>
was/is any other research or development in this area? I was thinking<br>
that I could look at how pickle works an implement a diff system<br>
there, or I could actually create a pickle of the object and then use<br>
difflib to compare the flattened text...<br>
<br>
Ideas, or comments welcome<br>
<br>
Thanks,<br>
Dave Butler<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>