Embedding python in C - newbie

Philippe C. Martin philippe at philippecmartin.com
Tue Jun 28 18:26:47 EDT 2005


Just to make sure i'm clear as I've been told about swig and pyrex: I don't
want to eventually have a python script call C modules, but rather a main.c
make calls to python functionnalities.

I did add newbie in the title :-)

Regards,

Philippe



Philippe C. Martin wrote:

> Hi,
> 
> Is there a program out there that would generate the C code to instantiate
> objects and call them:
> 
> ex: miracle.exe -i mymodule.py -o module_internface.c ?
> 
> I seem to recall a _yes_ to that but I got a memory overflow :-)
> 
> Thanks,
> 
> Philippe




More information about the Python-list mailing list