Does anybody know of any libraries or scripts or even code snippets that can generate HTML code from a diff or comparison of the contents of two files? I know of the HtmlDiff class in difflib, but the format it outputs is not the one I want (it puts both files side to side; I want something more like how it is seen here: http://bitbucket.org/tjd.rodgers/codeback/changeset/f9bd5e5831d6/#chg-CodeBack.pyw)

Nevermind. I contacted bitbucket and got the code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.