2. Motivation

Most unix-ish systems come with a great number of already-written libraries that will do all sorts of nice work for you. Most of these are written in C. Python has a lot of wrappers for most libraries, but sometimes you'll find a special purpose library, the functions of which you'd like to use in a Python program, perhaps in conjunction with Python's Tkinter module.

This tutorial will show you how to do that. It also shows you how to create your own C shared libraries and how you would make use of them from within your Python code.