<human>:  Attribute getters in python
<bot>: Here is some code to get attribute 'attr' from object `obj`

getattr(obj, 'attr')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.