parameters: (path, mode=0o755)
docstring: Recursively create the directory "path" with the given mode.
  
    Args:
      path: The directory path.
      mode: The file mode for the created directories
  
    Raises:
      OSError: if the path already exists
docstring_summary: Recursively create the directory "path" with the given mode.
docstring_tokens: Recursively create the directory path with the given mode .
function: def MakeDirs(path, mode=0o755):  # pylint: disable=invalid-name
    """Recursively create the directory "path" with the given mode.
  
    Args:
      path: The directory path.
      mode: The file mode for the created directories
  
    Raises:
      OSError: if the path already exists
    """
    # NOTE(mrry): MakeDirs("") should be a no-op to match other
    # implementations of tf.gfile.
    if path:
      try:
        os.makedirs(path, mode)
      except OSError as e:
        if e.errno != errno.EEXIST:
          raise
function_tokens: def MakeDirs ( path , mode = 0o755 ) : # pylint: disable=invalid-name # NOTE(mrry): MakeDirs("") should be a no-op to match other # implementations of tf.gfile. if path : try : os . makedirs ( path , mode ) except OSError as e : if e . errno != errno . EEXIST : raise