Integrate C source in a Python project

James fphsml at gmail.com
Fri Aug 26 09:34:03 EDT 2005


billiejoex wrote:
> Hi all.
> I was wondering if it ispossible to integrate C source in a python project.

There is ofcourse Python/C API
http://docs.python.org/api/api.html

But you will probably be easier off with Pyrex or Swig.

Good summary on when to use which
http://www.rexx.com/~dkuhlman/python_201/python_201.html#SECTION006500000000000000000

James




More information about the Python-list mailing list