> print "item1" in dir(root) # False
> print "item3" in dir(root) # True
>
> Is it the behavior you wanted?
>   
Exactly. :-) Why I did not think of this?

I'm always amazed when I see that Python can do anything we want. :-)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to