DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get all files within multiple directories python
from pathlib import Path for f in Path().cwd().glob("../*.ext"): print(f) # do other stuff
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#files
#multiple
#directories
#python
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit