You are viewing a single comment's thread. Return to all comments →
def get_attr_number(node): total = 0 for child in node.iter(): total += int(len(child.attrib)) return total
Seems like cookies are disabled on this browser, please enable them to open this website
XML 1 - Find the Score
You are viewing a single comment's thread. Return to all comments →