I do not know much about the HTML DOM....But I think if you just mean treating HTML like XML and build it into a DOM tree and (Very important) the HTML file is not a 10000 lines or even longer one, then go ahead to xml.dom.minidom module for help. It has a basic (and great) implementation for light-weighted DOM implementation.
-- http://mail.python.org/mailman/listinfo/python-list