CPython is written in C, and a large part of the Python world, from NumPy to database drivers, is C underneath. This lesson is an introduction to the boundary. You will call a function in the C library without writing any C, with ctypes. You will see how to share memory between Python and C code without copying, with memoryview. And you will learn what an extension module is, and what the C API gives you, so that you know when and how to reach for it.
More lessons in Complete Python Programming