parameters: (path: str)
docstring: Check that specified path is a readable directory.
      :param path: path to check
      :return: path if the directory is readable
docstring_summary: Check that specified path is a readable directory.
      :param path: path to check
      :return: path if the directory is readable
docstring_tokens: Check that specified path is a readable directory . : param path : path to check : return : path if the directory is readable
function: def readable_dir(path: str):
      """
      Check that specified path is a readable directory.
      :param path: path to check
      :return: path if the directory is readable
      """
      if not os.path.isdir(path):
          raise Error('The "{}" is not existing directory'.format(path))
      elif not os.access(path, os.R_OK):
          raise Error('The "{}" is not readable'.format(path))
      else:
          return path
function_tokens: def readable_dir ( path : str ) : if not os . path . isdir ( path ) : raise Error ( 'The "{}" is not existing directory' . format ( path ) ) elif not os . access ( path , os . R_OK ) : raise Error ( 'The "{}" is not readable' . format ( path ) ) else : return path