Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list all csv in dir

from os import listdir

all_files = listdir("./path/to/file")    
csv_files = list(filter(lambda f: f.endswith('.csv'), all_files))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #csv #dir
ADD COMMENT
Topic
Name
2+8 =