C API for modules

Paul Archibald pxl at sonic.net
Thu Mar 28 00:50:14 EST 2002


I am new to python, and am also interested in the c/c++ api. My problem is
that when I look at the tutorial code, it says "#include <python.h>". I
don't have such a file on my Mac. Where can I get it, and what other parts
come with it that will help me build c/c++ extensions?

"Edward C. Jones" wrote:

> Is there some simple way to call functions in modules from C? In
> particular, for module struct, how do I call pack, unpack, and calcsize?
>
> Thanks,
> Ed Jones




More information about the Python-list mailing list