HTMLParser for Python 3.4

2019-02-24 11:26发布

问题:

I have some code written in Python(2.7) which uses HTMLParser. I am using Pyhton 3.4 currently.

I can not find HTMLParse download module. I have searched a lot. I cannot find it.

I am concerned if it even exists. If it exists, please share the link. If not, what should I do?

回答1:

You don't need install html parser for Python 3. It's pre installed. Just use:

import html.parser