4 #ifndef DYNAMIC_GRAPH_PYTHON_INTERPRETER_H 5 #define DYNAMIC_GRAPH_PYTHON_INTERPRETER_H 28 [[deprecated(
"you *SHOULD* handle error messages")]] std::string
python(
29 const std::string& command);
33 void python(
const std::string& command, std::string& result, std::string& out,
38 void runPythonFile(std::string filename);
39 void runPythonFile(std::string filename, std::string& err);
44 std::string processStream(std::istream& stream, std::ostream& os);
60 #endif // DYNAMIC_GRAPH_PYTHON_INTERPRETER_H PyObject * globals_
Pointer to the dictionary of global variables.
PyObject * locals_
Pointer to the dictionary of local variables.
PyThreadState * _pyState
The Python thread state.