Software Methods and Tools

Kenneth M. Anderson <kena@cs.colorado.edu>

Lecture 23: Unix Libraries

Today's Lecture

Reuse in a Unix Environment

Libraries

Creating a Library

Example

Example, continued

More info on ar command

Using Unix Libraries

The Use of Libraries to Extend Scripting Languages

Step 1: Write C Code

Step 2: Write a Wrapper

Step 3: Build the Library

Step 4: Accessing the Code from within Python

Coming Up Next