Building a lib-wrapper, first step

Kragen Sitaker kragen at dnaco.net
Tue Oct 16 17:12:49 EDT 2001


In article <3BCC198D.5010505 at strakt.com>,
Rikard Bosnjakovic  <rikard at strakt.com> wrote:
>I've got a small library (Linux) and I want to create some 
>wrapper-module so Python can use it. I've never done this before, so I'm 
>looking for some tutorial or such for this purpose.
>
>Is there any documents describing this somewhere, step-by-step or something?

Someone suggested using SWIG (swig.org), but "Extending and Embedding
the Python Interpreter", which is part of the documentation bundled
with Python, explains how to do it by hand.
-- 
<kragen at pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we possess
ourselves.
       -- Gandalf the White [J.R.R. Tolkien, "The Two Towers", Bk 3, Ch. XI]




More information about the Python-list mailing list