Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get all folders in directory

import os
subfolders = [ f.path for f in os.scandir(folder) if f.is_dir() ]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #folders #directory
ADD COMMENT
Topic
Name
6+7 =