Paul Brannan <pbrannan / atdesk.com> writes: > > 2) Correct me if I'm wrong, but I think python does let you add > methods > > at run-time: You're right, there are some objects you can't do it with though strings and dictionaries come to mind. You can do it smoother too. (I admit the ruby way is more explicit). class Foo: pass aFoo = Foo() def aMethodToBecomeFoosSoon(self, arg): print self, arg Foo.method = aMethodToBecomeFoosSoon aFoo.method('aNiceString') -- Vennlig hilsen Syver Enstad