Recommendations on Pythonic tree data structure design techniques
gagsl-py2 at yahoo.com.ar
Sun Apr 12 22:49:55 CEST 2009
En Thu, 09 Apr 2009 13:18:27 -0300, <python at bdurham.com> 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 http://effbot.org/zone/element-index.htm and
More information about the Python-list