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 files in directory full path
import
glob all_files
=
[
f
for
f
in
glob
.
glob
(
folder
)
if
os
.
path
.
isfile
(
f
)
]
PREVIOUS
NEXT
Tagged:
#python
#files
#directory
#full
#path
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit