Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get files in directory

(_, _, filenames) = os.walk(mypath).next() #if you are confident that the walk will return at least one value
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #files #directory
ADD COMMENT
Topic
Name
6+4 =