Re: Integrate C source in a Python project

2005-08-26 Thread Fredrik Lundh
"billiejoex" wrote_ > Than you James. I'll take a look as soon as possible. > It is possible do the contrary (integrates python source in a C project)? http://docs.python.org/ext/embedding.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Integrate C source in a Python project

2005-08-26 Thread Alessandro Bottoni
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://ww

Re: Integrate C source in a Python project

2005-08-26 Thread billiejoex
Than you James. I'll take a look as soon as possible. It is possible do the contrary (integrates python source in a C project)? "James" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > billiejoex wrote: >> Hi all. >> I was wondering if it ispossible to integrate C source in

Re: Integrate C source in a Python project

2005-08-26 Thread James
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/pyt