scopesim.utils.find_file#
- scopesim.utils.find_file(filename: str, path: Iterable[Path | str] | None = None, silent: bool = False) str | None#
Find a file in search path.
First check whether filename exists as (relative) path. In particular, this finds files that are present in the user’s current working directory. If filename is not found in this way it is looked for in the search path, rc.__search_path__.