< BACKMake Note | BookmarkCONTINUE >
156135250194107072078175030179198180025031194137176049106218111004226050046241052137203197

Chapter 20. Extending Python

Chapter Topics

  • Introduction/Motivation

  • Extending Python

    • Create Application Code

    • Wrap Code in Boilerplate

    • Compile

    • Import and Test

  • Related Topics

In this chapter, we will discuss how we can take code written externally and integrate that functionality into your Python programming environment. We will first give you motivation for doing such a thing, then take you through the step-by-step process on how to do it. We should point out, though, that because extensions are primarily done in the C language, all of the example code you will see in this section is pure C.


Last updated on 9/14/2001
Core Python Programming, © 2002 Prentice Hall PTR

< BACKMake Note | BookmarkCONTINUE >

© 2002, O'Reilly & Associates, Inc.