4 #include <boost/python.hpp>
10 TK_DECLARE_PTR(PyWrapper);
14 static PyWrapperPtr getInstance(const std::string& pydir); // get Python Interprete
16 boost::python::object import(const std::string& module);
17 void exec(const std::string& cmd);
18 static std::string parse_python_exception();
21 PyWrapper(const std::string& python_dir);
22 boost::python::object main_namespace;
23 boost::python::object main_module;
29 #endif // _PY_WRAPPER_H_