def list_folders(self):
        result = []
        for entry in os.listdir(self._path):
            if os.path.isdir(os.path.join(self._path, entry)):
                result.append(entry)
        return result
Return a list of folder names.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/MH.list_folders