Wrapping C with Python

Stefan Behnel stefan_ml at behnel.de
Mon Aug 4 14:03:25 EDT 2008


Anish Chapagain wrote:
> I tried wrapping a simple C code suing SWIG to Python, but am having
> problem,

Try Cython. It's a Python-like language between Python and C that compiles to
C code. It makes it very easy to call into C functions and to hide them behind
a nice Python module.

http://cython.org/

Stefan



More information about the Python-list mailing list