Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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))]
 
PREVIOUS NEXT
Tagged: #array
ADD COMMENT
Topic
Name
5+4 =