smpl.io.io.files

smpl.io.io.files(ending, folder='.')[source]

Get all the files in folder ending with ending.

Parameters

folderstr

folder name.

endingstr

ending of the files.

Returns

list

list of files.

Examples

>>> files(".toml")
[(0, 'pyproject', './pyproject.toml')]