pydicom.data.get_palette_files

pydicom.data.get_palette_files(pattern: str = '**/*') → List[str][source]

Return a list of absolute paths to palettes with filenames matching pattern.

New in version 1.4.

Parameters

pattern (str, optional) – The pattern to pass to glob(), default ('**/*').

Returns

A list of absolute paths to matching files.

Return type

list of str