Embedded interp --> call back to embeddor?

Gordon McMillan gmcm at hypernet.com
Thu Apr 13 13:41:54 EDT 2000


Michael Peck  wrote:

> I can't tell from any of the references I've read whether my objective
> is possible. What I want to do is provide a C program that embeds a
> Python interpreter in such a way that the executed Python code can call
> back to C functions within my program.
> 
> Is this possible? Can someone provide information on the procedure?

There's a (moronically) simple example at
http://www.mcmillan-inc.com/embed2.html


- Gordon




More information about the Python-list mailing list