开发者

How can I serialize Python objects to XML?

I need to serialize my Python objects into XML data. I tried to use Django, but it only works for QuerySet objects and not for any simple Python object.

How can I serialize a Python object in开发者_开发知识库to XML data?


http://freshmeat.net/projects/gnosisxml/


You could also have a look at the objectify module from lxml.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜