I want to use a C++ library from Python

Fredrik Lundh fredrik at pythonware.com
Thu Sep 11 08:32:52 CEST 2008

Anders Eriksson wrote:

> I have looked (very briefly) at the three framework you mention but they
> all need the source code of the C++?

No, they need header files and an import library to be able to compile 
the bindings and link them to your DLL.

Do you know enough about C/C++ build issues to be able to compile a C++ 
program against the given library?  If you do, fixing the rest should be 
straightforward, since the binding is just another C++ program designed 
to be imported by Python.


More information about the Python-list mailing list