Home

Awesome

Embedded Python Example

This is an example of an embedded python interpreter within a C program.

It demonstrates created the interpreter then defining an extension module within C that can be imported and ran from Python. It also has an example of a Python module that is imported and called from within the C program.