code: def dirs(self, *args, **kwargs):
          
          return [p for p in self.listdir(*args, **kwargs) if p.isdir()]
docs: D.dirs() -> List of this directory's subdirectories.
  
          The elements of the list are Path objects.
          This does not walk recursively into subdirectories
          (but see :meth:`walkdirs`).
  
          Accepts parameters to :meth:`listdir`.