Native class methods

Diez B. Roggisch deets at
Tue Oct 9 17:25:13 CEST 2007

Stefan Arentz wrote:

> Is there an easy way to implement a specific method of a Python class
> in C? Like a native method in Java? I would really like to do the
> majority of my class code in Python and just do one or two methods
> in C.

ctypes or subclassing C-implemented classes.


More information about the Python-list mailing list