Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- original_f = r"C:\working\exiftool\example\original.txt"
- exif_f = r"C:\working\exiftool\example\hand_fixed.txt"
- hand_f = r"C:\working\exiftool\example\exif_fixed.txt"
- def get_md(f):
- with open(f, "rb") as data:
- data = data.read()
- lines = data.split("\n")
- return lines
- orig = get_md(original_f)
- exif = get_md(exif_f)
- hand = get_md(hand_f)
- for i, line in enumerate(orig):
- if line != exif[i] or line != hand[i]:
- print orig[i]
- print exif[i]
- print hand[i]
- print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement