def findfolder(toppath, match='<STR_LIT:*>', exclude='<STR_LIT>'):
pred = _pred_pattern(match, exclude)<EOL>return (p for p in walkfolder(toppath, pred))<EOL>
recursively find folder path from toppath.
patterns to decide to walk folder path or not
:type toppath: str
:type match: str or list(str)
:type exclude: str or list(str)
:rtype: generator for path str