parameters: (path)
docstring: Make sure the directory for |path| exists.
docstring_summary: Make sure the directory for |path| exists.
docstring_tokens: Make sure the directory for |path| exists .
function: def EnsureDirExists(path):
      """Make sure the directory for |path| exists."""
      try:
          os.makedirs(os.path.dirname(path))
      except OSError:
          pass
function_tokens: def EnsureDirExists ( path ) : try : os . makedirs ( os . path . dirname ( path ) ) except OSError : pass