access dynamicall to name attribute python code example Example: access dynamicall to name attribute python getattr(myobject, 'attr_name_string')