ig -python interface.i
% gcc -fpic -c interface_wrap.c -I/usr/local/include/python1.5
% gcc -shared interface_wrap.o $(OBJS) -o interfacemodule.so 
% python
Python 1.5.2 (#3, Oct  9 1999, 22:09:34)  [GCC 2.95.1 19990816 (release)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
&gt;&gt;&gt; import interface
&gt;&gt;&gt; interface.blah(...)
...
</pre>
</blockquote>

<li>The politically "correct" way to compile a Python extension is to follow the steps
described at <a href="http://docs