ElementTree as ET def getTree(xmlName): xmlName = xmlName.strip() try: tree ... root.tag # 標籤(country) print 'root attrib:', root.attrib ...
確定! 回上一頁