embeding python in C++ ??
yishai at platonix.com
Sun Feb 6 18:52:39 CET 2000
Sure, both ways are possible, and pretty straightforward. Actually, the python
docs (www.python.org) explain it quite well. The only catch is that you cannot
object methods directly, but rather use global scope to call c++ funcs (just
like calling them from C).
If you have any specific questions, go ahead.
> I would like to embed python within a C++ application. I want to call python
> scripts from C++ objects and call C++ object methods from python scripts.
> Does anyone have experience with this?
> I am new to Python, so I don't know how involved this is, or if it is even
> Thanks in advance.
More information about the Python-list