David
David

Reputation: 14404

Is there a native HTML parsing module for Python 3.2?

I am trying to parse some html. I would like something like sgmllib but it is deprecated in python 3.2.

Is there an alternate module that I can use?

Thanks.

Upvotes: 2

Views: 4275

Answers (2)

arussell84
arussell84

Reputation: 2543

Not sure what you mean by native, but I'm a big fan of lxml.

Upvotes: 4

utdemir
utdemir

Reputation: 27216

Built-in HTMLParser module: http://docs.python.org/py3k/library/html.parser.html

Not native but worth to mention; BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/

Upvotes: 8

Related Questions