title: Is there any scripting SVG editor?
body: <p>I would like to edit SVG files using some scripting language (preferably Python). In particular, I would like to merge two SVG files, add some annotations, and arrange them in a larger image. Is there any software available for such purposes?</p>
  <p>Thanks,</p>
  <p>Bartosz</p>
  <h2>UPDATE</h2>
  <p>I finally decided to use the approach proposed by nosklo. You can find the code of SVG handling python module on <a href="https://github.com/btel/svg_utils" rel="noreferrer">github repo</a>. I also described how to use it in this  <a href="http://neuroscience.telenczuk.pl/?p=331" rel="noreferrer">post</a></p>