Recently, I build a hybrid system with C++ and python.
First,I encapsulate a class(I can't guarantee the robustness of this class
) with boost.python which can implement some functions that can not be
implemented by C++, I get a .pyd File in result.
Second,I embed a python interprete
On Thursday, January 24, 2013 12:28:58 AM UTC+8, Leonard, Arah wrote:
> > I create a pyd File named "testPyd" with boostPython,and then I import the
> > testPyd module into "test.py", it works perfect!
>
> > But when I embeded the python interpreter into my C++ project and run the
> > "test.py",