HTMLParser for Python 3.4

那年仲夏 提交于 2019-12-09 03:36:50

问题


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


来源:https://stackoverflow.com/questions/27335750/htmlparser-for-python-3-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!