Skip to main content
Module

x/denops_std/function/mod.ts>pyxeval

📚 Standard module for denops.vim
Go to Latest
function pyxeval
import { pyxeval } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

Evaluate Python expression {expr} and return its result converted to Vim data structures. Uses Python 2 or 3, see python_x and 'pyxversion'. See also: pyeval(), py3eval()

Can also be used as a method:

GetExpr()->pyxeval()

only available when compiled with the +python or the +python3 feature

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>