Calling C++ Modules in Python

Patrick zxpatric at gmail.com
Fri Mar 11 16:15:52 EST 2011


Hi,

I saw in the Beginner document that "•Is easily extended by adding new
modules implemented in a compiled language such as C or C++. ".

While to my investigation, it seems not that easy or did I miss
something?

boost python (C++ libraries need to be re-compiled with written
wrappers again?).
SWIG  (It works by taking the declarations found in C/C++ header and
using them to generate the wrapper code that scripting languages need
to access the underlying C/C++ code).

Thanks
-Patrick



More information about the Python-list mailing list