[Tutor] htmllib
Ed Singleton
singletoned at gmail.com
Wed Oct 5 13:21:42 CEST 2005
I want to dump a html file into a python object. Each nested tag
would be a sub-object, attributes would be properties. So that I can
use Python in a similar way to the way I use JavaScript within a web
page.
I looked at htmllib, but the documentation seems quite limited, and as
far as I can tell, I would have to write code for every single
potential tag in my page.
Is there a way to do this, or access the DOM through Python or something?
Thanks
Ed
More information about the Tutor
mailing list