How to pass a arg of object to python's script in a c++ program?

Mike Rovner mrovner at propel.com
Tue Apr 26 13:40:56 EDT 2005


Couple notes:
- boost.python issues better discuss in comp.lang.python.c++ group;
- debug your extension from python first, then embed it
- don't call PyFinalize()

zghelp wrote:
> but the exception occur when run to "print t.greet()"
> 
> How can I solve it?

Providing exception text will be helpful.

Mike




More information about the Python-list mailing list