Developing a network protocol with Python

Irmen de Jong irmen.NOSPAM at xs4all.nl
Tue Dec 13 19:40:03 EST 2005


Laszlo Zsolt Nagy wrote:

>>
> I need to send Python objects too. They are too elaborate to convert 
> them to XML. (They are using cyclic weak references and other Python 
> specific stuff.) I can be sure that on both sides, there are Python 
> programs. Is there any advantage in using XML if I already need to send 
> Python objects? Those objects cannot be represented in XML, unless 
> pickled into a CDATA string.
> 


Try Pyro  http://pyro.sourceforge.net
before rolling your own Python-specific protocol.

--Irmen



More information about the Python-list mailing list