Finding Line numbers of HTML file

Ramdas ramdaz at gmail.com
Wed Dec 12 16:56:18 EST 2007


I am doing some HTML scrapping for a side project.

I need a method using sgmllib or HTMLParser to parse an HTML file and
get line nos of all the tags

I tried a few things, but I am just not able to work with either if
the parsers.



Can someone help




More information about the Python-list mailing list