Embedding python in C

P

Philippe C. Martin

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
 
P

Philippe C. Martin

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
 
P

Philippe C. Martin

Sorry, it is still not clear when I reread it:

1) I have a bunch of Python working modules
2) I need to compile "something" so external C applications can access 1)

Thanks,

Philippe
 
P

Philippe C. Martin

Thanks, I cannot get the demo to compile, but I joined their list.

Thanks

Philippe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,260
Messages
2,571,301
Members
47,944
Latest member
LillianPra

Latest Threads

Top