Comment() function is used to insert comments in xml file. comment = ET.Comment('user comment') p.append(comment) #this comment will be appended to parent ...
確定! 回上一頁