Linux Today: Linux News On Internet Time.

More on LinuxToday

How to embed Python code in C program

Dec 04, 2016, 18:00 (0 Talkback[s])
(Other stories by Xmodulo)


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

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.

Complete Story