Interoperating with C

Aaron Brady castironpi at
Sat Oct 18 21:52:37 CEST 2008

Michele wrote:

> Hi there,
> I would like to call C functions in a Python program, passing
> user-defined objects and primitive python types (str, ints, etc.); of
> course I also want to receive data from these functions, manipulating it
> in my python program.
> First of all: is this possible?
> Secondly, what's the mapping between C types and Python types?
> Thank you


You can try this thread.  After some confusion there is a solution at
bottom.  Let me know what you think.

More information about the Python-list mailing list