from xml.dom import minidomdoc = minidom.parse(svg_file) # parseString also existspath_strings = [path.getAttribute('d') for path in doc.getElementsByTagName('path')]doc.unlink()
欢迎分享,转载请注明来源:内存溢出
from xml.dom import minidomdoc = minidom.parse(svg_file) # parseString also existspath_strings = [path.getAttribute('d') for path in doc.getElementsByTagName('path')]doc.unlink()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)