ADBRITE ads links
You are here: CodeIdol.com > Python > Programming Python, 3rd Edition > Embedding Python
Programming Python, 3rd Edition
| 23.1. "Add Python. Mix Well. Repeat."
In the prior chapter, we explored half of the Python/C integration
picture: calling C services from Python. This mode lets programmers speed up operations by moving them to C, and to utilize exte...
|
|
| 23.2. C Embedding API Overview
The first thing you should know about Python's embedded-call API
is that it is less structured than the extension interfaces. Embedding Python in C may require a bit more creativity on your part than extending: yo...
|
|
| 23.3. Basic Embedding Techniques
As you can probably tell from the preceding overview, there is much flexibility in the embedding domain. To illustrate common embedding techniques in action, this section presents a handful of short C programs that...
|
|
| 23.4. Registering Callback Handler Objects
In the examples thus far, C has been running and calling Python code from a standard main program flow of control. That's not always the way programs work, though; in some cases, programs...
|
|
| 23.5. Using Python Classes in C
In the previous chapter, we saw how to use C++ classes in Python by wrapping them with SWIG. But what about going the other wayusing Python classes from other languages? It turns out that this is really j...
|
|
| 23.6. A High-Level Embedding API: ppembed
As you can probably tell from Example 23-14, embedded-mode integration code can very quickly become as complicated as extending code for nontrivial use. Today, no automation solution ...
|
|
| 23.7. Other Integration Topics
In this book, the term integration has largely meant mixing Python with components written in C or C++ (or other C-compatible languages) in extending and embedding modes. But from a broader perspective, integration a...
|
|
You are here: CodeIdol.com > Python > Programming Python, 3rd Edition > Embedding Python
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|