I\'m quite new to python. I am trying to remove files that appear on one list from another list. The lists were produced by redirecting ll -R on mac and on windows (but have
Use unicodedata.normalize to normalize the to strings to the same normal form:
unicodedata.normalize
import unicodedata encoded1 = unicodedata.normalize('NFC', word1.decode('utf8')) encoded2 = unicodedata.normalize('NFC', word2.decode('utf8'))