30 #ifndef _MIRA_TOOLBOXES_PYTHON_PYTHONINTERPRETER_H_ 31 #define _MIRA_TOOLBOXES_PYTHON_PYTHONINTERPRETER_H_ 43 namespace mira {
namespace python {
66 boost::python::object
importModule(
const std::string & name);
boost::python::object mGlobalDict
Definition: PythonInterpreter.h:79
void extendPath(const std::string &path)
Extend the list of search paths for python modules by the given path.
Definition: PythonInterpreter.h:47
boost::python::dict getLocalDict()
Get a local copy of the global dict (dict) of the main module.
Definition: PythonInterpreter.h:62
boost::python::object getMainModule()
Get the main (main) module.
Definition: PythonInterpreter.h:54
PyThreadState * mMainThreadState
PyEval_ReleaseLock() is deprecated and should not be used anymore.
Definition: PythonInterpreter.h:86
Exception handling for python exceptions.
boost::python::dict getGlobalDict()
Get the global dict (dict) of the main module.
Definition: PythonInterpreter.h:58
Include this instead of boost/python.hpp to reduce compile time warning spam from Boost internal inco...
boost::python::object mMainModule
Definition: PythonInterpreter.h:78
boost::python::object importModule(const std::string &name)
Import a python module.