How to import C++ static library?

Alexander Dong Back Kim alexdbkim at gmail.com
Tue Apr 15 03:42:56 EDT 2008


Hi all,

I'm very very beginner of python but I'm dare to ask this question
straight away. =P

Is it possible to import C++ static library compiled by GCC? The
target is definitely Linux machine.

I found some examples from Google showing the way C++ can import
Python so called embedded python. But I want to the opposite way of
this. I want to import (or include in C world terminology) the library
which is a blah.a file to reuse in python.

Any suggestion or idea for this stupid beginner? ;)

cheers,
Alex



More information about the Python-list mailing list