PUBLIC   marks

PUBLIC MARKS with tag elementtree

Sponsorised links

This year

lxml vs. ElementTree « michael schurter

by karlcow

While lxml has some excellent benchmarks about the speed of lxml.etree vs. ElementTree, I wanted to run some tests that were as close as possible to my own use case (fairly simple multi-megabyte XML files).

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" />'

2006

Sponsorised links

2005

ElementTree and Python 2.5

by karlcow
ElementTree has been included in Python 2.5 alpha

PUBLIC TAGS related to tag elementtree

no tag

Sponsorised links