files
A module containing functions to work with files, which are of general use.
Summary
Functions:
Finds files with a given prefix. |
Reference
- find_files_with_prefix(
- file_prefixes: list[str] | str,
Finds files with a given prefix.
- Parameters:
file_prefixes (List[str] or str) – The prefixes of the files to find. Here with prefix we mean the part of the filename not only the name before the extension, but every matching file that starts with the given prefix.
- Returns:
The files with the given prefixes.
- Return type:
List[str]