file_list#
- gwpy.io.utils.file_list(
- flist: str | PathLike | NamedIO | GzipFile | _TemporaryFileWrapper | list[str | PathLike | NamedIO | GzipFile | _TemporaryFileWrapper] | tuple[str | PathLike | NamedIO | GzipFile | _TemporaryFileWrapper, ...],
Parse a number of possible input types into a list of filepaths.
- Parameters:
- flist
file-likeorlist-likeiterable The input data container, normally just a single file path, or a list of paths, but can generally be any of the following
- flist
- Returns:
- Raises:
ValueErrorif the input
flistcannot be interpreted as any of the above inputs