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(".ini")
[(0, 'pytest', './pytest.ini')]