Wrapping up a C++ class
Dave Kuhlman
dkuhlman at rexx.com
Mon Jan 29 20:01:06 EST 2001
Also, you might look at SIP. It was used to produce PyQt, so there
should be plenty of examples there. It's available at:
http://www.thekompany.com/
Also, the distribution of Zope comes with something called
Extension Classes. I believe you can find it at:
http://www.digicool.com/releases
- Dave
Carl Bray <carlbray at altavista.net> wrote:
>
> Take a look at SWIG http://www.swig.org/
>
> <warrickb at my-deja.com> wrote in message news:954496$ues$1 at nnrp1.deja.com...
>> Hi,
>>
>> Could anyone provide me with a simple example of wrapping a simple C++
>> class for use in Python (I seem to be unable to find one - I must be
>> missing something) - including the details of the creation and
>> destruction of the actual C++ instance? An extra example of dealing
>> with virtual methods would also be a bonus!
>>
>> Thanks in advance,
>>
>> Warrick.
>>
>>
>> Sent via Deja.com
>> http://www.deja.com/
>
>
--
Dave Kuhlman
dkuhlman at rexx.com
More information about the Python-list
mailing list