05 2013 档案
摘要:Python2.6.6的ElementTree输出xml中汉字变成&#xxxx的问题:# coding: gbkimport xml.etree.ElementTree as ET rootelem = ET.Element("SystemList")organization = ET.SubElement(rootelem, "Organization") organization.attrib["label"] = "<空>"organization.attrib["id"
阅读全文

浙公网安备 33010602011771号