How to embed Python code in C program
Dec 04, 2016, 18:00 (0 Talkback[s])
(Other stories by Xmodulo)
How to Help Your Business Become an AI Early Adopter
If you are developing a program in C, but some part of it needs to be written in Python, you can actually write a Python module for that and embed the Python module in a C program using Python/C API. In this tutorial let's examine how to use Python/C API to embed Python code in C.