py_eval

Evaluate a python expression once and return the result.

T
py_eval
(
T = PydObject
)
(
string python
,
string modl = ""
,
string file = __FILE__
,
size_t line = __LINE__
)

Parameters

python string
python string

a python expression

modl string

context in which to run expression. either a python module name, or "".

file string
line size_t

Meta