findFile

emlib.filetools.findFile(path, file)[source]

Look for file recursively starting at path.

If file is found in path or any subdir, the complete path is returned else None

Parameters:
  • path (str) – the path to start searching

  • file (str) – the file to find

Return type:

Optional[str]

Returns:

the absolute path or None if the file was not found