extention modules.

Travis Oliphant olipt at mayo.edu
Wed Jun 16 22:41:06 CEST 1999

> Should I write it as two seperate modules (the compiled C one and
> the native python one) or is there a way to combine them in one. I am
> using the SWIG program to wrap my C library.

It is often the practice to put make a Python module that imports a C
module.  That's what I'm doing with Multipack
You can construct C-modules that don't need a Python wrapping, however, it
is easier to handle the user-end API in Python.

If you are doing math intensive calculations, have you looked at the
Numeric extensions?

Good luck,


More information about the Python-list mailing list