> You can make new codeobjects with the 'new' module. Use > new.instancemethod here: > > >>> t.add = new.instancemethod(add, t, Test) Wow. Thanks for that one Remco. I haven't looked at the new module yet but I can feel some experimentation coming on. Python just keeps on amazing me with its openness. Alan G.