Of C Shared Libraries and Python


Table of Contents
1. Introduction
2. Motivation
3. Tools
4. Creating a Shared Object in C
5. Calling Shared Objects from Python

1. Introduction

This is a tutorial that explains how to create a shared C library object and then explains how to call the functions of that library from C code, then from Python code. While I'm sure other possibilities exist, this tutorial focuses on creating C shared library objects and calling their functions from Python code, both of which are created and subsequently run on a unix-ish (Linux) system.