Categories
October Surprise 2024

Python Glob without the whole path – only the filename

Is there a way I can use glob on a directory, to get files with a specific extension, but only the filename itself, not the whole path?