The C programming language has been in operation since the early 1970s and has been central to the development of computer software since then. The Python language is newer and can perform some functions that C does not. So, it is useful to be able to write a C program and have some Python code incorporated (embedded) into it. This is what this chapter will illustrate.
Call a simple Python string.
Call a Python program.
To embed the two levels ...