Ganesh Pal <ganesh1...@gmail.com> writes: > ... > Thanks stefan and Gollwitzer , good to know there are many ways to do this > i.e via cython or SWIG but the C/Python API > <https://docs.python.org/2/c-api/> is probably the most widely used method > - not for it’s simplicity but for the fact that you can manipulate python > objects in your C code. > > I want to use C/Python API <https://docs.python.org/2/c-api/>
I have used both Python's C API (to implement "dm.incrementalsearch") and (later) "cython" (to implement "dm.xmlsec.binding"). I can tell you from personal experience that the "cython" approach is much easier (and even more straight forward). -- https://mail.python.org/mailman/listinfo/python-list