The svgwrite python module – part 001.

A svgwrite python module is a tool by Manfred Moitzi.
To install this python module uses Python 3.4 version.
Then you need to install svgwrite with pip3.4:

This svgwrite is the only module that needs to be imported and then you can deal with this module.
See this simple example:

The result of this python script is this SVG file.
If you use the dir() then you can see more about this python module:

For example you can add some text:

This tutorial can also be found at this website:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.