ID EN
Diff Tools

HtmlDiff

Python 3.11

This class can be used to create an HTML table (or a complete HTML file containing the table) showing a side by side, line by line comparison of text with inter-line and intra-line change highlights. The table can be generated in either full or contextual difference mode.

Syntax

PYTHON
class difflib.HtmlDiff

See Also

HtmlDiff ndiff() HtmlDiff ndiff() make_file()