Recommendations on Pythonic tree data structure design techniques

Gabriel Genellina gagsl-py2 at
Sun Apr 12 22:49:55 CEST 2009

En Thu, 09 Apr 2009 13:18:27 -0300, <python at> escribió:

> Any recommendations on Python based tree data structures that I
> can study? I'm working on an application that will model a basic
> outline structure (simple tree) and am looking for ideas on
> Pythonic implementation techniques.

I'd use ElementTree. An Element is a generic container for hierarchical  
data - doesn't have to be XML.

See and

Gabriel Genellina

More information about the Python-list mailing list