a Tree data-structure class?

Sean McGrath sean.mcgrath at propylon.com
Mon Jun 24 06:08:15 EDT 2002


>On 21 Jun 2002 06:10:30 -0700, steve at ferg.org (Stephen Ferg) wrote:
>
> >I do a lot of processing of tree-structured data, so I'm thinking it
> >would be useful to develop a generic Tree class that I could adapt to
> >various applications.  Or perhaps a Tree class and a generic Node
> >class.
> >
> >But before I start trying to re-invent the wheel, I thought I'd ask if
> >anybody knows of something like this that has already been developed.

I'd suggest looking at Python's XML libraries. DOM and Pyxie in partic. are
basically tree data structures suitable for directed acyclic
graph use.

regards,
Sean








More information about the Python-list mailing list