(self)
return result
Return a list of folder names.
Return a list of folder names.
Return a list of folder names .
def list_folders(self):
        """Return a list of folder names."""
        result = []
        for entry in os.listdir(self._path):
            if len(entry) > 1 and entry[0] == '.' and \
               os.path.isdir(os.path.join(self._path, entry)):
                result.append(entry[1:])
        return result
def list_folders ( self ) : result = [ ] for entry in os . listdir ( self . _path ) : if len ( entry ) > 1 and entry [ 0 ] == '.' and os . path . isdir ( os . path . join ( self . _path , entry ) ) : result . append ( entry [ 1 : ] ) return result