i'm going straight to the point; First of all i'm trying to select all lines if i find one char in common e.g:
-"activit�"
-"activit�s"
-"actrice"
-"actualisation"
I'd like to select all lines where � is present, then i'd like to make a python script removing all words who have less or more than 5 chars
with open("liste_francais.txt") as mot:
for a in readlines(mot):
if len(a)!=5:
a.replace(a, "")
this is my code atm but its not working, may i get help ? :)