How can I evaluate an arbitrary Python expression from C?
Call the function PyRun_String from the previous question with the start symbol Py_eval_input; it parses an expression, evaluates it and returns its value.
CATEGORY: extending
Call the function PyRun_String from the previous question with the start symbol Py_eval_input; it parses an expression, evaluates it and returns its value.
CATEGORY: extending
this page was rendered by a django application in 0.02s 2008-08-28 02:18:17.593209. hosted by webfaction.