1. "rootPath": "C:\\pythontest\\search-folders" You have to modify the path in which you want to search. 2. "fileExtension": ".txt" You have to set the file extension in which you want to search. 3. "search": "Hirak|Santra|I am the don" You have to specify search item seperated by '|'.
hirak-santra/python3-search-text-in-files
You can set some config data to search one or more text in files
Python