Obtaining the PyObject * of a class

Chris Mellon arkanes at gmail.com
Tue Mar 11 15:03:57 EDT 2008


On Tue, Mar 11, 2008 at 12:13 PM, Terry Reedy <tjreedy at udel.edu> wrote:
>
>  "Cooper, Andrew" <ACooper at cimtek.com> wrote in message
>  news:C03234BF0E2A8C419C4C307D0914EB730251D3A9 at 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.



More information about the Python-list mailing list