Questions regarding embedding Python interpreter in other applications, such that it may serve as a scripting language.
When embedding Python, the interface code does:
Convert data values from C to Python,
Perform a function call to a Python interface routine using the converted values, and
- Convert the data values from the call from Python to C.
Reference