Wrapping C++ Class Heirachy in Python

Diez B. Roggisch deetsNOSPAM at web.de
Mon Apr 18 17:54:49 EDT 2005


> PyType_Ready but in Python the base class isn't recognised. Is there
> anything obvious I'm missing?

Maybe - I'd go for one of the several available python wrapper generators. I
personally had good experiences with SIP. But you might also try boost
python or SWIG. 

The python C-API is great - for C. For C++, use one of the above.
-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list