Yet another C++ binding (using Extension Classes)

Alex Martelli aleaxit at yahoo.com
Fri Mar 16 15:46:33 EST 2001


"Lee, Jaeho" <Jaeho.Lee at brooks.com> wrote in message
news:mailman.984760603.29541.python-list at python.org...
> > About a year ago, I had to bind a C++ template class into objects that
> > could be used from within python.  I made a wrapper for Extension
> > Classes that extended the basic structure into a C++ class.  Any objects
> > that subclassed this class would automagically become valid python
> > objects and could be extended in much the same way as Extension Classes.
>
> I am researching on how to expose "complex" C++ class in python. I found
> that SWIG does not support well my specific purpose. If you can open your
> source code (even with document - how great !!), it will be very helpfu.

Have a look at www.boost.org, specifically the Boost Python Library --
it's likely to include most or all of the tools you need.


Alex






More information about the Python-list mailing list