Boiler plate method for Module

Carey Evans c.evans at clear.net.nz
Wed Sep 15 03:33:05 EDT 1999


"Jacques Oosthuizen" <jacques at integra.co.za> writes:

> 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

There's a program in Tools/modulator/ to generate this kind of
information in a simple fill-in-the-gaps layout.  You might want to
give it a try.

-- 
	 Carey Evans  http://home.clear.net.nz/pages/c.evans/

	       "This is where your sanity gives in..."




More information about the Python-list mailing list