On 12/28/2014 12:27 PM, Seymore4Head wrote:
I need to search through a directory of text files for a string. Here is a short program I made in the past to search through a single text file for a line of text.How can I modify the code to search through a directory of files that have different filenames, but the same extension?
You could simplify the relevant parts of idlelib/grep.py -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list