code: def get_snippets(code_list, base=SNIPPET_FOLDER):
      
      output = []
      for code in code_list:
          path = gen_path(base, code)
          fp = os.path.join(path, code)
          try:
              with open(fp) as f:
                  output.append(f.read())
          except FileNotFoundError:
              output.append('')
              logging.warning("FileNotFoundError: No such file: %r" % fp )
  
      return output
docs: Get the snippets