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

Integrate C source in a Python project

2005-08-26 Thread Uwe Schmitt
> > Hi all. > I was wondering if it ispossible to integrate C source in a > python project. Yes it is. Which tool you use depends on your requirements: http://starship.python.net/crew/theller/ctypes/ ctypes allowes loading dlls/shared libs and calling functions in that lib. www.s

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

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

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/~dk

Integrate C source in a Python project

2005-08-26 Thread billiejoex
Hi all. I was wondering if it ispossible to integrate C source in a python project. Best regards -- http://mail.python.org/mailman/listinfo/python-list