Level 1 : what is getattr() used for?

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