Extending the python language
Simon Burton
simonb at webone.com.au
Tue Sep 16 20:26:06 EDT 2003
On Tue, 16 Sep 2003 15:49:21 -0700, John D wrote:
> I'm writing a class definition in python with some array atributes
> from Numeric 2.0. I'm using UserArray, UserList, to subclass my
> classes. But some of the methods I need to write in C mainly because
> of computing speed. I need to pass to those C functions array and
> lists objects that the C functions can access their contained values
> like arrays and lists.
PyRex is good at this. Have a look at the cgkit for an example.
Simon Burton.
More information about the Python-list
mailing list