mutapath.Path.dirs

Path.dirs() → List of this directory's subdirectories.[source]

The elements of the list are Path objects. This does not walk recursively into subdirectories (but see walkdirs()).

Accepts parameters to listdir().