Categories October Surprise 2024 Python Glob without the whole path – only the filename Post author By Post date September 26, 2026 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?