OS.Listdir a la matriz
from os import listdir
from os.path import isfile, join
files = [file for file in listdir(path) if isfile(join(path, file))]
Determined Dormouse
from os import listdir
from os.path import isfile, join
files = [file for file in listdir(path) if isfile(join(path, file))]