"garyr" <ga...@fidalgo.net> wrote in message news:mkd7nk$isi$1...@speranza.aioe.org... > *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. > > > Thanks for your reply. I'm using the compiler that came with Anaconda Python 2.7. I too used SWIG a bunch of years ago but it has changed a lot since then; e.g., it is now included in the Python distribution.
-- https://mail.python.org/mailman/listinfo/python-list