elsa kerensaelise at hotmail.com
Mon Aug 24 09:04:57 CEST 2009

I have a question about elementtree:

I know how to turn HTML into an ElementTree object, but I don't know
how to then view the structure of this object. Is there a method or
module that you can give an ElementTree object to, and it returns some
kind of graphical or printed representation of the tree? Otherwise, if
you can't see you're tree's structure, how do you know what is a
sensible way of iterating over the tree to access the info you need?


More information about the Python-list mailing list