Interoperating with C

Aaron Brady castironpi at gmail.com
Sat Oct 18 15:52:37 EDT 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

Hi,

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

http://groups.google.com/group/comp.lang.python/browse_thread/thread/68d59cb670a345ef/9557483dee0f9294






More information about the Python-list mailing list