Boiler plate method for Module
Michael P. Reilly
arcege at shore.net
Wed Sep 15 17:03:12 EDT 1999
Jacques Oosthuizen <jacques at integra.co.za> wrote:
: Hi am looking for a good but simple example of how to write my own Python
: Object in C
: 1) Must show me how to write the constructor/destructor
: 2) Sow me how to do getattr/setattr pair
You can look at either the source code, the _Programming Python_ book,
or at http://starship.python.net/crew/arcege/extwriting/pyext.html, which
describes (tersely so far) how to write extention types in C.
-Arcege
More information about the Python-list
mailing list