TidalPy.utilities.io package
Submodules
TidalPy.utilities.io.pathing module
- TidalPy.utilities.io.pathing.get_all_files_of_type(directory_to_search: str, file_extensions: List[str] | str) Dict[str, str][source]
Returns all files with a specified extension(s) in a given directory
- Parameters:
directory_to_search (str) – The directory to search for files in.
file_extensions (Union[List[str], str]) – Extension, or list of extensions, to search for.
- Returns:
files – Dictionary of files stored as file_name: file_path
- Return type:
Dict[str, str]