9

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

I can not find the HTMLParser download module.

If it exists, can anyone share the link? If not, what should I do?

Wouter
  • 534
  • 3
  • 14
  • 22
Arpi Shah
  • 109
  • 2
  • 5
  • 2
    Have you tried the inbuilt `2to3` python converter? Also check https://docs.python.org/3/library/html.parser.html – Bhargav Rao Dec 06 '14 at 19:52
  • I can find the docs but not the download module. i can only find download module for python 2.7. Here it is: https://pypi.python.org/pypi/HTMLParser – Arpi Shah Dec 11 '14 at 00:43

1 Answers1

14

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

import html.parser
alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
Sara Santana
  • 1,001
  • 1
  • 11
  • 22