html
Escape and unescape HTML text, plus a simple HTML parser.
Easy
html.escape("<b>") → '<b>'. For real scraping use Beautiful Soup or lxml.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.