return texte.upper()
l=[[maju(i[0]),i[0]+" : "+i[1].replace("\\n","; ")] for i in l
- if len(i[0])>=8 and not " " in i[0]]
+ if len(i[0])>=8
+ and not " " in i[0]
+ and not i[0][-1]=='-'] # les mots finissant par un tiret foiraient
+ # en plus ils sont pas intéressants, donc on vire
f1=open("mots.txt.out","w")
f2=open("definitions.txt.out","w")
f1.writelines([(i[0]+"\n").encode("utf8") for i in l])
-f2.writelines([i[1]+"\n" for i in l])
+f2.writelines([i[1].decode("utf8").replace(u"note",u"nøte").replace(u"Note",u"Nøte").encode("utf8")+"\n" for i in l])
f1.close()
f2.close()