Calling C++ Modules in Python
Benjamin Kaplan
benjamin.kaplan at case.edu
Fri Mar 11 16:28:47 EST 2011
On Mar 11, 2011 4:23 PM, "Patrick" <zxpatric at gmail.com> wrote:
>
> 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
> --
I believe the document was referring to writing your own python modules in
C, not wrapping existing libraries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110311/b0140e98/attachment-0001.html>
More information about the Python-list
mailing list