|
void | execute (const std::string &python) |
| Execute simple Python script passed as a string. More...
|
|
PyObject * | call (const std::string &name, const std::string &fmt,...) |
|
PyObject * | call (PyObject *module, const std::string &name, const std::string &fmt,...) |
|
PyObject * | importModule (const std::string &name) |
| Import a Python module. More...
|
|
◆ execute()
void PythonRuntime::execute |
( |
const std::string & |
python | ) |
|
Execute simple Python script passed as a string.
- Parameters
-
python | The Python code to run |
◆ getPythonRuntime()
◆ importModule()
PyObject * PythonRuntime::importModule |
( |
const std::string & |
name | ) |
|
Import a Python module.
- Parameters
-
name | The name of the module to import |
- Returns
- PyObject* The Python module
The documentation for this class was generated from the following files:
- C/common/include/pyruntime.h
- C/common/pyexception.cpp
- C/common/pyruntime.cpp