Using sax libxml2 html parser
stefan.behnel-n05pAM at web.de
Sat Jan 6 13:16:43 CET 2007
cesar.ortiz at gmail.com wrote:
> I have created an example using libxml2 based in the code that appears
> in http://xmlsoft.org/python.html.
> My example processes an enough amount of html files to see that the
> memory consumption rises till the process ends (I check it with the
> 'top' command).
Try the lxml binding for libxml2. It relieves you from having to do your own
memory management and makes using that library plain easy.
More information about the Python-list