Source code:Lib/html/__init__.py
This module defines utilities to manipulate HTML.
Convert the characters&,< and> in strings to HTML-safesequences. Use this if you need to display text that might contain suchcharacters in HTML. If the optional flagquote is true, the characters(") and (') are also translated; this helps for inclusion in an HTMLattribute value delimited by quotes, as in<ahref="...">.
New in version 3.2.
Submodules in thehtml package are:
20. Structured Markup Processing Tools
20.2.html.parser — Simple HTML and XHTML parser
Enter search terms or a module, class or function name.