parameters: (self)
return_statement: return result
docstring: Return a list of folder names.
docstring_summary: Return a list of folder names.
docstring_tokens: Return a list of folder names .
function: def list_folders(self):
          """Return a list of folder names."""
          result = []
          for entry in os.listdir(self._path):
              if os.path.isdir(os.path.join(self._path, entry)):
                  result.append(entry)
          return result
function_tokens: 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