programming unlimited "categories" in python ?
shriek at gmx.co.uk
Wed Oct 24 05:31:23 CEST 2001
> > Thank you for the advice, Terry. Sorry if I'm being obstinate,
> > but I think the problem is a little less simplistic than it first
> > appears. Let's look at the everyday addressbook in Act! or
> > Outlook ? How would you create unlimited levels of categorisation
> > and unlimited numbers of subcategories ?
> I haven't been reading this completely, but this sounds an awful lot
> like what yahoo does...
> I have an object called Node that does this.
> probably needs a cleanup, but that's the general idea.
Yes, though the real problem presents itself in storing the
node tree structure. And the "sets" solution is perfect for that.
More information about the Python-list