Out of necessity, I am learning Python. The first project I am attempting seemed to be relatively easy when I thought of it, but has become a challenge to really get into.
What I need to do is open an unknown number of files of a certain type in a user specified directory, search for a regex string in the first file, then compare that string to each additional file and report a found/not found status in an output file.
I have been searching around, and found some of this info...that's what led me to this forum. If someone could give me a general idea of what concepts to look out for, or a tutorial suited to this application, I would greatly appreciate it.
Thanks,
Mark.
What I need to do is open an unknown number of files of a certain type in a user specified directory, search for a regex string in the first file, then compare that string to each additional file and report a found/not found status in an output file.
I have been searching around, and found some of this info...that's what led me to this forum. If someone could give me a general idea of what concepts to look out for, or a tutorial suited to this application, I would greatly appreciate it.
Thanks,
Mark.