Python - Read rectangles from and .svg file
<p>I have several groundtruth files generated from inkspace with .svg format. In order to verify the precision of my program written in python, I need to read the 'rect' fields from the .svg files, them coordinates and the other attributes, such as contour color, and id.</p>

<p>I found this topic:
<a href="https://stackoverflow.com/questions/8534265/library-to-parse-svg-in-ruby-or-python">Library to parse SVG in Ruby or Python</a></p>

<p>where is suggested to use the pysvg library, but I can't find the documentation about the psvg.parser.parse module.</p>

<p>Any suggestions?</p>

<p>Thanks</p>