iglob() or pathlib.Path().glob() . If you want to list files in a folder but not in subfolders, you can use os.listdir() ...
確定! 回上一頁