Is it possible to access a property / method on a Python object with a variable and how?
Example:
handler.request.GET.add()
I would like to replace the βGETβ part by first running the method in a variable and then using it in the point notation.
method = handler.method handler.request.{method}.add()
I just don't see where / how to do this.
source share