📅  最后修改于: 2022-03-11 14:45:19.947000             🧑  作者: Mango
代码示例1
from glob import iglob
level3 = iglob('/home/backups/mysql/*/*/*')
level3_dirs = [x for x in level3 if os.path.isdir(x)]