Embedding Python

One can also run the interpreter on files

Highlights of embed1.c:

    Py_Initialize();

    fp = fopen(filename, "r");
    PyRun_SimpleFile(fp, filename);
    fclose(fp);

    Py_Finalize();

next