XML to dict(d)

Neil Cerutti neilc at norwich.edu
Mon Jan 31 08:03:13 EST 2011


On 2011-01-31, Daniel Stender <daniel at danielstender.com> wrote:
> Hi guys,
>
> we are trying to convert a Sanskrit dictionary which is in a
> "homegrown" XML format into dict(d), the input file goes like
> this:

xml.etree.ElementTree will parse your file and return it as a
hierarchy of dict-like Element objects.

-- 
Neil Cerutti



More information about the Python-list mailing list