Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list subdirectories

os.walk(directory)
[x[0] for x in os.walk(directory)]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #subdirectories
ADD COMMENT
Topic
Name
4+5 =