Hi thanks alot for helping me in your free time,
I am still not understanding this:
How can I link the two "text" variables in both functions?
I have made the changes you suggested to me but still not succesfull :(
I am still not understanding this:
def ma(data): vet = ", ".join(data) ... for line in text: # checking string is present in line or not ... def run(): for f in os.listdir(path): if f.endswith('.docx'): text = docx2txt.process(f).replace(":", " ").replace(",", " ").replace("_", " ") ma(text.split()) print('Transfert de donnée Réussi!')python is still throwing me a code because "text" in ma() is not defined.
How can I link the two "text" variables in both functions?
I have made the changes you suggested to me but still not succesfull :(