title: Python - glob.glob with grep?
body: <p>I am fairly new to the Python environment and gradually working my way forward.</p>
  
  <p>We got about 10,000 files in a folder containing similar information, but with one major difference. Some files contain a string 'string1' and the other set contains 'string2'. Just to clarify the string is not in the filename but in the file itself. The file content is character-delimited.</p>
  
  <p>I tried to create two separate lists with string1 respectively string2 and got various lines of code but getting nowhere. Both list should only contain the filename.</p>