Wrapping C++ code for python.

Will Ware wware-nospam at world.std.com
Tue May 11 18:43:18 EDT 1999


Alex (alex at somewhere.round.here) wrote:
: Hi.  Could someone please point me to some examples of Gnu C++ code
: wrapped up for Python?  I am finding the documents rather heavy going,
: because they don't give any good examples.

I don't have any, being a C guy rather than a C++ guy, but you might
want to look at Swig (www.swig.org), which automates the construction
of interfaces between C/C++ and Python/Tcl/Perl/etc. If I recall, the
handling of C++ is quite elegant and straightforward.
-- 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Will Ware		email: wware[at]world[dot]std[dot]com
PGP fp (new key 07/15/97) 67683AE2 173FE781 A0D99636 0EAE6117




More information about the Python-list mailing list