parameters: (path)
docstring: Makes sure |path| does exist, tries to create it if it doesn't.
docstring_summary: Makes sure |path| does exist, tries to create it if it doesn't.
docstring_tokens: Makes sure |path| does exist tries to create it if it doesn t .
function: def EnsurePath(path):
    """Makes sure |path| does exist, tries to create it if it doesn't."""
    try:
      os.makedirs(path)
    except OSError as exception:
      if exception.errno != errno.EEXIST:
        raise
function_tokens: def EnsurePath ( path ) : try : os . makedirs ( path ) except OSError as exception : if exception . errno != errno . EEXIST : raise