parameters: (path, mode='w')
return_statement: return open(path, mode)
docstring: Open |path| for writing, creating directories if necessary.
docstring_summary: Open |path| for writing, creating directories if necessary.
docstring_tokens: Open |path| for writing creating directories if necessary .
function: def OpenOutput(path, mode='w'):
    """Open |path| for writing, creating directories if necessary."""
    gyp.common.EnsureDirExists(path)
    return open(path, mode)
function_tokens: def OpenOutput ( path , mode = 'w' ) : gyp . common . EnsureDirExists ( path ) return open ( path , mode )