Summary
The os.listdir() function can be used to list all subdirectories in a directory.
1
The ** pattern can be used to recursively list all directories in a directory.
2
This means that all files and subdirectories in the root directory can be filtered using the os.path.
1
According to