Wrapping C++ Class Heirachy in Python

Roy Smith roy at panix.com
Mon Apr 18 22:51:54 EDT 2005


In article <umzrvo5zk.fsf at bigfoot.com>,
 Chris Smith <smitty_one_each at bigfoot.com> wrote:

> >>>>> Diez B Roggisch <deetsNOSPAM at web.de> writes:
> 
>     >> 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,

I've been playing around with ctypes 
(http://starship.python.net/crew/theller/ctypes/) recently.  So far, it 
looks pretty cool.



More information about the Python-list mailing list