I looked at th Python-C interfaces before (but never got around to doing the project) and while it may be some work it seems like it's very well documented. (There's an entire manual on python.org ...
#include <stdio.h> #include <Python.h> int main(int argc, char * argv[]) { // initialize the interpreter Py_Initialize(); // evaluate some code PyRun_SimpleString ...