Human: Attribute getters in python Assistant: 
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.