data_baseutilsget_file_or_folder_that_endswith

get_file_or_folder_that_endswith

data_base.utils.get_file_or_folder_that_endswith(path, endswith)

Get the file or folder in a directory that ends with a certain string

Parameters:
  • path (str) – the path

  • endswith (str) – the string

Returns:

the file or folder

Return type:

str