O'Reilly logo

Core Python Applications Programming, Third Edition by Wesley J. Chun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Extending Python

C is very efficient. Unfortunately, C gets that efficiency by requiring you to do a lot of low-level management of resources. With today’s machines as powerful as they are, this is usually a bad tradeoff—it’s smarter to use a language that uses the machine’s time less efficiently, but your time much more efficiently. Thus, Python.

—Eric Raymond, October 1996

In this chapter...

Introduction/Motivation

Extending Python by Writing Extensions

Related Topics

In this chapter, we will discuss how to take code written externally and integrate that functionality into the Python programming environment. We will first present the motivation for why you do it, and then take you through the step-by-step process of how to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required