Use Python code in C/C++
Embedding the CPython interpreter into a C or C++ program is actually pretty straightforward.
The official documentation has some complete examples.
Also, check out SWIG
and Boost.Python
.
Embedding the CPython interpreter into a C or C++ program is actually pretty straightforward.
The official documentation has some complete examples.
Also, check out SWIG
and Boost.Python
.