code: def find_python(ignores, paths, explicit_file_mode, workdir=''):
      
      if explicit_file_mode:
          return SingleFiles(paths, workdir or os.getcwd())
      else:
          assert len(paths) == 1
          files, modules, directories, packages = _find_paths(ignores, paths[0], workdir)
          return FoundFiles(workdir, files, modules, directories, packages, ignores)
docs: Returns a FoundFiles class containing a list of files, packages, directories,
      where files are simply all python (.py) files, packages are directories
      containing an `__init__.py` file, and directories is a list of all directories.
      All paths are relative to the dirpath argument.