|
April's "API Spy" introduced Python's C API and showed how a Python interpreter can be embedded in a C program. For many tasks where you need to run a Python script from within C code, last month's technique is sufficient. However, as your C programs and Python scripts evolve, you may want or need more advanced interaction between the two languages.
|
|
Many applications, including most of those shipped with Windows, Linux, KDE, Gnome, and Apache are written in C. C is perhaps the most universal of all programming languages -- its expressive power, portability, minimalism, and speed make it a popular choice.
|