Level 1 : what is getattr() used for?

Author: SarojiniD | Tags: object-attribute | 1736+ Python FAQs | Share
boolean | stack | lists | set-operation | python-repl | iterable | immutability | match | random-function | random | debugging | objects | pickling-&-unpickling | pep | nested-loop | with-statement | loop | heap-memory | operator-and | memory-management | installation | scientific-notation | constructor | string-slicing | version | attribute | expand-tab | call | data-structures | rollback | list-join | slice | comment | immutable-data-type | recurssion | mapping-function | precedence-and-associativity | python-django | complex-number | interpreter | logical-operation | string-iteration | built-in-function | else-statement | yield | string-slicing | recursion | memory | control-flow | format | counter | python-module | tuple | conditional-statement | iterator | formal-and-actual-parameter | operand | benefit | control-flow | copy | encoding | list-comprehension | arithmetic-expression | __future__ | mutable | class | input-function | generators | built-in | collections | math-copysign | bitwise | factorial-function | type-conversion | error | pandas | filter | syntaxerror | dictionary | polymorphism | logical-operator | __init_subclass__ | inheritance | enumerate() | global-keyword | generators-in-python | comprehension | staticmethod | built-in-function | lambda-function | indentation | init | sum-function | precedence | mathematical-function | tuple-unpacking | escape-operator | virtual-environment | data_structure | matrix-list-comprehension | destructor | while-else-loop | numeric | sys | file | docstring | implementation | sorted | software-design | __all__-attribute | split | map-function | lambda | dictionaries | max-min | raise | invalid-list | context-manager | type_conversion | string-formatting | turtle | function | matplotlib | package-management | operations | postfix | type-conversion | print-statement | binary | goto-function | mathematics | comparison | access-modifier | mysql | exception | global-variable | regex | dicts | thread | input-function | deep-copy | frozenset | indexing | threading | syntax-error | zfill-function | encapsulation | operators | string-method | datetime | boolean-and-non-boolean | typeerror | pseudocode | asyncio | list-method | version-check | multiple-inheritance | python | class-and-inheritance | data-type | swapping | classes | inherit | name-mangling | keyword | function-and-scope | gil | method | exponentiation | sorting | round-function | basic | update | sum() | data-type | functional-programming | global-variable | return-statement | zip | methods | min-max-function | import-method | class-and-object | while-loop | round | syntax-error | list-vs-tuple | string-formatting | file_handling | operator-overloading | feature | head-and-tail | overflow | parameter | string-concatenation | filter-function | slicing | command-line-parsing | decimal | namedtuple | input | loop-control | expression | id-function | syntax | python-history | multithreading | list-operation | shallow-copy | floating-point-precision | application | identity-operator | integer | for | join | zip-function | odd-number | print | conversion | set | string | regular-expression | loops | list | binary-operation | object-attribute | string-manipulation | math | error-handling | function-argument | int | numpy | fabs-function | higher-order-function | multiprocessing | conditional-statement | list-mutation | class-and-instance-variable | range | choice | string-method | data-structure | def | library | sys-module | condition | assignment-operator | python_version | counter-function | file-handling | descriptors | magic-method | complex | decorator | oops | identifier | data-structure | lambdas | bitwise-operator | oop | async | control-statement | logical-operator | matrix | min-function | touples | module | virtual-environment | append | design-principle | variable | identity-operator | array | exception-handling | collection | compute | datatype | while-and-for-loop | list-indexing | namespace | operator | exception-handling | assert | default-mutable-argument | file-handling | generator | arithmetic-operation | global | functions | list-slicing | static-method | asyncio-module | center | list-comprehension | operator-or | statement | bitwise-operator ...