On Thu, Jan 14, 2016 at 2:22 PM, Adriaan Renting <rent...@astron.nl> wrote:
> Any suggestions?

Instead of trying to make diff behave through subprocess, have a look
at Python's difflib: https://docs.python.org/3/library/difflib.html

In particular, I think `difflib.ndiff(first_list_of_strings,
second_list_of_strings, linejunk=difflib.IS_LINE_JUNK)` might be what
you're looking for (you may not even need to specify linejunk).

-- 
Zach
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to