Tag: xml

Python如何构建xml文档

Jackey Python 816 次浏览 ,
# 如何构建xml文档 from xml.etree.ElementTree import Element, ElementTree, tostring e = Element('Data') e.set('name', 'abc') e.text = '123' e2 = Element('Row') e3 = Element('Open') e3.text = '8.80' e2.appen...
Go