Building an extension module with SWIG

garyr garyr at fidalgo.net
Sat May 30 16:48:34 EDT 2015


*snip*

> Compile it ("cythonize -b foo.pyx") and you'll get an extension module
> that
> executes faster than what SWIG would give you and keeps everything in one
> file to improve readability.
>
> Stefan
>
>
> [1] http://cython.org/
>
>
Thanks for your reply. My interest is not in computing the gcd but to learn
how build an extension module. I have some much more complicated C code I
wish to use.






More information about the Python-list mailing list