title: Python append function as dot notation
body: <pre><code>def do_something(obj, func):
      obj.func()
  </code></pre>
  
  <p>My question is how do I call <code>func</code> on <code>obj</code>? <code>func</code> is a function of <code>obj</code>. Is this even possible?</p>