InterviewSolution
Saved Bookmarks
| 1. |
How Can I Evaluate An Arbitrary Python Expression From C? |
|
Answer» 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. 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. |
|