Answers for "os.listdir to array"

C
0

os.listdir to array

from os import listdir
from os.path import isfile, join
files = [file for file in listdir(path) if isfile(join(path, file))]
Posted by: Guest on November-20-2020

Code answers related to "C"

Browse Popular Code Answers by Language