Alex Rivera | Logout

Extending Python with C/C++

Asked 2009-07-02T19:42:30.237
11

Can anyone please give me tips on the tools or sofware to use to extend Python with C/C++? Thanks.

Edit
Report

2 Answers

13

The Python website itself has a great set of examples, as well as API documentation. That's literally all I used when I needed to write C extensions.

answered 2009-07-02T19:46:35.033
8

We use SWIG to wrap our C/C++ libraries for use in Python. It works quite well.

http://www.swig.org/

answered 2009-07-02T19:45:43.147

Your Answer