Python SVG parser
Ignoring transforms, you can extract the path strings from an SVG like so: from xml.dom import minidom doc = minidom.parse(svg_file) # parseString also exists path_strings = [path.getAttribute(‘d’) for path in doc.getElementsByTagName(‘path’)] doc.unlink()