Answers for "python counting subfolders on specific level"

0

python counting subfolders on specific level

from glob import iglob

level3 = iglob('/home/backups/mysql/*/*/*')
level3_dirs = [x for x in level3 if os.path.isdir(x)]
Posted by: Guest on August-30-2021

Code answers related to "python counting subfolders on specific level"

Python Answers by Framework

Browse Popular Code Answers by Language