Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get all images in directory

import glob

for filename in glob.iglob(root_dir + '**/*.jpg', recursive=True):
    # Do something
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #images #directory
ADD COMMENT
Topic
Name
4+6 =