Integrate C source in a Python project

Alessandro Bottoni alessandro.bottoni at infinito.it
Fri Aug 26 09:58:21 EDT 2005


billiejoex wrote:

> Hi all.
> I was wondering if it ispossible to integrate C source in a python
> project.
> 
> Best regards

Yes, of course. Have a look here:

http://docs.python.org/ext/ext.html

There are two nice tools for this:

SWIG
http://www.swig.org/Doc1.1/HTML/Python.html

SIP
http://www.river-bank.demon.co.uk/docs/sip/sipref.html

HTH
-----------------------------------
Alessandro Bottoni



More information about the Python-list mailing list