Manipulating SVG-files with python

1.6k Views Asked by At

Is it possible to manipulate existing svg files in python? I know the svgwrite package but it only creates new svg files... I just want to add 3 numbers to an existing svg file. It should be only an update showing the old svg file with these 3 new numbers.

1

There are 1 best solutions below

0
On BEST ANSWER

No. As with other text files, you need to read the file to memory, modify and then write the modified file to disk.