Trees

François Pinard pinard at iro.umontreal.ca
Fri Feb 25 08:22:52 EST 2005


[Alex Le Dain]

> Is there a generic "tree" module that can enable me to sort and use
> trees (and nodes). Basically having methods such as .AddNode(),
> .GetAllChildren(), .FindNode() etc.

> Is this handled natively with any of the core modules?

Using only standard Python, look at the suite of `xml...' modules.

> cheers, Alex.

P.S. - Your signature and company disclaimer use more than 30 lines.
That's really a lot.  I hope you can bring them down to reason! :-)

-- 
François Pinard   http://pinard.progiciels-bpi.ca



More information about the Python-list mailing list