wrapping C++, how to wrap an object?

Torsten Mohr tmohr at s.netic.de
Mon Mar 8 11:40:14 EST 2004


Hi,

thanks for that hint.

But is there no way to do this in plain python?

I don't really want to use any additional libraries,
as i want to use this code in the office and license
problems are always a big problem there.

Can i somehow wrap a C++ object in a python data type
just without any additional libraries?


Best regards,
Torsten.


> AFAIK, you have 2 mainstream choices for wrapping C++:
>      1.  Boost.Python - http://www.boost.org/libs/python/doc/
>      2.  SWIG - http://www.swig.org/
> 
> I'm also aware of:
>      3.  SIP - http://www.riverbankcomputing.co.uk/sip/docs/sipref.html
> 
> I use Boost.Python and have found it to be excellent.
> 
> --
> Mike




More information about the Python-list mailing list