How to create instances of classes in extension module?

Uwe Maurer uma at webde-ag.de.oz
Wed Aug 30 03:50:34 EDT 2000


Hi,

How can I create an instance of a python class in an extension module? 

More in detail:

I have a class written in python and an extension module written in C. The 
extension module exports a function that should return an instance of the 
class. But how do I create an instance of that class in my C-code?

Any hints? Thanks in advance.

Uwe Maurer



More information about the Python-list mailing list