[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Obtaining the PyObject * of a class

Chris Mellon

3/11/2008 7:04:00 PM

On Tue, Mar 11, 2008 at 12:13 PM, Terry Reedy <tjreedy@udel.edu> wrote:
>
> "Cooper, Andrew" <ACooper@cimtek.com> wrote in message
> news:C03234BF0E2A8C419C4C307D0914EB730251D3A9@MAILSERVER.cimtek.on.ca...
>
> | Are there any Python C API experts/SWIG experts out there that can help
> | me with this issue please.
>
> | I',m currently using SWIG to generate a python interface to a C DLL.
>
> Some people have switched to using ctypes for this, and many other SWIG
> users have stopped reading clp. But I hope someone answers who can.
>


Using Pyrex or Cython is likely to be much easier than using SWIG for this.