|
|
Boost.PythonHeader <boost/python/exec.hpp> |
execexec_fileExposes a mechanism for embedding the python interpreter into C++ code.
exec
object exec(str code,
object globals = object(),
object locals = object());
code in the context
specified by the dictionaries globals and locals.
exec_file
object exec_file(str filename,
object globals = object(),
object locals = object());
filename
in the context specified by the dictionaries globals and
locals.