find_files_with_ext#
- find_files_with_ext(directory, extension)[source]#
Search the given parent directory for files with the given extension.
- Return type:
list
- Parameters
directory: pathlib.Path of the parent directory extension: extension of the files to find
- Returns
list: A list with the file names containing the given extension