I have a directory full of other directories with thousands of text files and I don't know how to parse every file to look for matches. Is there any way in python?
I tried the read file module but I have to specify a directory and I don't know how to open every file, not only the ones I specified.