Skip to content Skip to sidebar Skip to footer

How Can I Compare The Differences Between The Two Files(python Dictionary As A Format)?

Use the python script to output the contents of the dictionary to a file , the file name is 2017-12-29.txt, the content of the file from output of dictionary content : {u'AP1': [u

Solution 1:

Generate output files with pprint, run /usr/bin/diff -u or difflib against them, and you're done.

Oh, and do code this in python3. You'll be glad you did.


Post a Comment for "How Can I Compare The Differences Between The Two Files(python Dictionary As A Format)?"