durusmail: quixote-users: Newbie question: root variable in _q_index...
Newbie question: root variable in _q_index...
2003-12-08
Newbie question: root variable in _q_index...
A.M. Kuchling
2003-12-08
On Mon, Dec 08, 2003 at 05:34:03PM +1100, Stuart Hungerford wrote:
> They both use:
>        c = CategoryUI(root)
> So where is this "root" variable coming from?

[This refers to http://www.quixote.ca/learn/1.html]

root is the object that's the root of the tree of categories.  It's simply a
Python object that's read from a pickle in a file:

# Load the tree
root = links.load('/tmp/tree')

--amk


reply