Really simple way to deal with XML in Python?

前端 未结 9 1307
Happy的楠姐
Happy的楠姐 2020-12-04 22:36

Musing over a recently asked question, I started to wonder if there is a really simple way to deal with XML documents in Python. A pythonic way, if you will.

<
9条回答
  •  青春惊慌失措
    2020-12-04 23:02

    The suds project provides a Web Services client library that works almost exactly as you describe -- provide it a wsdl and then use factory methods to create the defined types (and process the responses too!).

提交回复
热议问题