Skip to content

Releases: pythoniac/difftool_to_html

initial release

25 Jan 09:01
Compare
Choose a tag to compare

compare two files and output the diff to html (python3)

Simply drag and drop two files onto the script and it will output the diff in form of a html document which is then opened in your standard webbrowser.

You can also start the script from the command line and give the two files as arguments.

The script has been designed to work with binary files but will compare any file format.

The output format of the html can be adjusted in the 'html_template.htm' file. Simply adjust the 'style' section of the document. p-tag is the format for normal text; d-tag formats the diff value highlights.

Finally, adjust the global names within the script if you want to (self explanatory, I think):

TEMPLATENAME = html_template.htm
OUTFILENAME = result.htm
Simply drag and drop two files onto the script and it will output the diff in form of a html document which is then opened in your standard webbrowser.

You can also start the script from the command line and give the two files as arguments.

The script has been designed to work with binary files but will compare any file format.

The output format of the html can be adjusted in the 'html_template.htm' file. Simply adjust the 'style' section of the document. p-tag is the format for normal text; d-tag formats the diff value highlights.

Finally, adjust the global names within the script if you want to (self explanatory, I think):

TEMPLATENAME = html_template.htm
OUTFILENAME = result.htm

difftool_to_html v1.01

25 Jan 12:23
Compare
Choose a tag to compare

small update in case drag and drop files onto the script is not working (some win x64 installations...).

otherwise nothing changed.