Module for SVG?

Dieter Verfaillie dieterv at optionexplicit.be
Fri Jan 26 03:25:04 EST 2007


On Thu, 2007-01-25 at 15:58 -0300, Sebastian Bassi wrote:
> Hello,
> 
> I found http://www2.sfk.nl/svg as a Python module for writing SVG.
> Last update was in 2004 and I am not sure if there is something
> better.
> Any recommendation for generating SVG graphics?
> Best,
> SB.

Cairo ( http://cairographics.org/pycairo ), using cairo.SVGSurface().
As a bonus, if you'd ever need it, you can switch to a different Surface
(for example ps or pdf) and use the same drawing code with it.

There's a good tutorial on http://www.tortall.net/mu/wiki/CairoTutorial

hth,
Dieter




More information about the Python-list mailing list