最佳答案
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?