0

I'm wondering what is the best way to do a Diff on two HTML codes? I prefer to get the output as Python object and not as a HTML report or something like this.

1 Answer 1

2

You can use difflib library available as a part of python standard library. Refer it at https://docs.python.org/2/library/difflib.html

Sign up to request clarification or add additional context in comments.

1 Comment

I looked on it.. but the results there is per char, i look for something that diffs by a line

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.