[Tutor] Instance into another instance

Kent Johnson kent37 at tds.net
Sun Feb 20 13:07:52 CET 2005


Ismael Garrido wrote:
> The idea of the class is to be able to create a "tree". Where each node 
> can have subnodes, which in turn can have their subnodes...
Are you creating a tree to represent XML data? There are many packages available that do this. You 
might want to look at ElementTree which is one of the easiest to use. In fact, even if you aren't 
trying to represent XML you might find ElementTree useful.
http://effbot.org/zone/element.htm

Kent



More information about the Tutor mailing list