 <p>Questionably useful Python hacks are my forte.</p> <pre><code>from types import * class Foo(object): def __init__(self): self.bar = methodize(bar, self) self.baz = 999 @classmethod def bar(cls, baz): return 2 * baz def methodize(func, instance): return MethodType(func, instance, instance.__class__) def bar(self): return 4*self.baz &gt;&gt;&gt; Foo.bar(5) 10 &gt;&gt;&gt; a=Foo() &gt;&gt;&gt; a.bar() 3996 </code></pre>