DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
PREVIOUS
NEXT
Tagged:
#python
#images
#directory
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit