Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get list of files in directory python

import os
path = '/folder1/folder2/'
files = os.listdir(path)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #files #directory #python
ADD COMMENT
Topic
Name
5+9 =