parameters: (*args, **kwargs)
docstring: Like `mkdir`, but does not raise an exception if the
      directory already exists.
docstring_summary: Like `mkdir`, but does not raise an exception if the
      directory already exists.
docstring_tokens: Like mkdir but does not raise an exception if the directory already exists .
function: def mkdir_p(*args, **kwargs):
      """Like `mkdir`, but does not raise an exception if the
      directory already exists.
      """
      try:
          return os.mkdir(*args, **kwargs)
      except OSError as exc:
          if exc.errno != errno.EEXIST:
              raise
function_tokens: def mkdir_p ( * args , * * kwargs ) : try : return os . mkdir ( * args , * * kwargs ) except OSError as exc : if exc . errno != errno . EEXIST : raise