开发者

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开发者_JAVA技巧.


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/


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜