Python and C++

Dave Kuhlman dkuhlman at rexx.com
Tue Jul 25 14:29:17 EDT 2006


KraftDiner wrote:

> What ways can I call my C++ classes from within Python.
> I've looked at boost but it would appear that there is little
> support or knowledge on boost in the python community.

If you want to write Python wrappers for C++ code *by hand*, look
here:

    http://docs.python.org/ext/ext.html
    http://docs.python.org/api/api.html

If you want to generate wrappers for C++ code (or C code) with
SWIG, look here:

    http://www.swig.org/

Dave


-- 
http://www.rexx.com/~dkuhlman



More information about the Python-list mailing list