etree.tostring(tree.getroot())
Ottiene tutto il file html, dato che come elemento da serializzare si prende root