title: Specifying object property in dot notation with a variable
body: <p>Is it possible to access a property/method on a Python object with a variable and how?</p>
  
  <p>Example:</p>
  
  <pre><code>handler.request.GET.add()
  </code></pre>
  
  <p>I'd like to replace the 'GET' part by capturing the method beforehand into a variable and then using it in the dot notation.</p>
  
  <pre><code>method = handler.method
  handler.request.{method}.add()
  </code></pre>
  
  <p>I just can't see where/how to do that.</p>