PUBLIC   marks

ON THIS LINK

Only Python: A small svg module

by karlcow
>>> from xml.etree import ElementTree as etree >>> from functools import partial >>> Circle = partial(etree.Element, 'svg:circle') >>> c = Circle(cx='100', cy='200', fill='red') >>> etree.tostring(c) '<svg:circle cx="100" cy="200" fill="red" />'

Comments

No comment on this link yet. React !


PUBLIC TAGS
on this link

elementtree   python   svg  

BY

karlcow
the 22/02/2009 at 22:26