[Tutor] Python to C++

Eike Welk eike.welk at gmx.net
Sat Mar 22 02:44:54 CET 2008

On Friday 21 March 2008 23:37, Dinesh B Vadhia wrote:
> Thank-you for all the suggestions for converting to C/C++ which
> will be followed up.
> Can we interface Python to a C++ library and if so how?
> Dinesh

If you have only few classes / member functions Boost-Python is a good 

I heard that SWIG can also generate glue code for C++.

You could also look at Py-QT they have a tool like SWIG (SIP I think), 
which they use to generate the glue code for the fairly big QT 
library. Maybe you like it better.

More information about the Tutor mailing list