Level 1 : What is the purpose of the __dict__ attribute in Python?

Author: IndraD | Tags: attribute | 1859+ Python FAQs | Share
indentation | membership-operators-(in,-not-in) | counter-function | iterators | identity-operator | int | assignment-operators | key-value-pairs | decimal | input-function | join | control-flow | lambdas | encoding | __all__-attribute | dictionary-methods | creating-custom-modules | for | built-in-modules | list-comprehension | integer | introduction-to-threads | introduction-to-multiprocessing | immutability | data-type-conversions | encapsulation | introduction-to-python | debugging | __future__ | function-argument | global-variable | syntax-error | data-structure | regular-expressions | copy | typeerror | statement | threading | unit-testing | list-comprehensions | max-min | while-else-loop | global-variable | staticmethod | choice | managing-directories-with-os-and-shutil | using-map()-for-transformations | working-with-temporary-files-using-tempfile | min-function | thread-safe-data-structures-(queue.queue) | fabs-function | interpreter | working-with-file-paths | difference-between-threads-and-processes | syntax-error | asyncio | exception | attribute | handling-missing-values-(fillna,-dropna) | data-structure | test-discovery | sets | dictionaries | lambda-function | design-principle | parameter | postfix | functional-programming | counter | syntaxerror | multiple-inheritance | list-comprehension | application | print | file-handling | identity-operators-(is,-is-not) | binary-operation | keyword | sys-module | python-syntax-and-structure | immutable-data-type | indexing | operator-overloading | numpy | memory-management | else-statement | implementation | filter-function | comprehension | import-method | list-operation | precedence | dictionary-comprehensions | tuple-methods | head-and-tail | reading:-read(),-readline(),-readlines() | object-attribute | matplotlib | input-function | conditional-statement | namedtuple | precedence-and-associativity | logical-operators | string-method | slicing | match | collection | overriding-methods | turtle | advanced-file-operations | single-inheritance | error-handling | while-loop | sorting | list-methods-and-slicing | type-conversion | tuple-unpacking | return-statement | type_conversion | multiple-except-blocks | zfill-function | slice | split | using-else-and-finally | thread-synchronization | arbitrary-arguments-(*args,-**kwargs) | data-structures | heap-memory | lambda-functions | decorator | intering | higher-order-function | opening-files-(open()) | operations | class-and-object | global | sum-function | python-operators | recurssion | walking-through-directories-using-os.walk() | complex-number | round-function | method-overloading | assert | version-check | pep | floating-point-precision | string | static-method | class-decorators | feature | pseudocode | file_handling | operator-and | with-statement | list-slicing | list-join | expression | multiple-inheritance | loop-control-statements | virtual-environment | generators-in-python | thread | mathematical-function | dataframe-and-series-objects | file | using-lists-as-stacks | creating-and-starting-threads | benefit | time-series-with-pandas | type-conversion | quantifiers-(*,-+,-?,-{}) | indexing:-loc-vs-iloc | function-and-scope | exponentiation | iterable | file-handling | iterator | math | generator | frozenset | datetime | binary | random-function | recursion | init | working-with-binary-files-(rb,-wb) | math-copysign | filter | datatype | else | string-slicing | magic-method | call | working-with-dates-and-times | defining-functions | python-history | literal-characters-and-special-characters | conditional-statements | string-formatting | memory | string-iteration | __init_subclass__ | rollback | default-arguments | mathematics | condition | using-join()-and-is_alive()-methods | mutable | def | destructor | filtering-and-indexing | functional-programming | package-management | exception-handling | error-handling | range | conversion | python_version | variable | docstring | name-mangling | library | loops | sorting-and-ranking | zip-function | data-type | set | string-formatting | virtual-environment | goto-function | matrix-list-comprehension | reading-and-writing-files | swapping | shallow-copy | comment | oops | module | strings | conditional-statement | built-in | data-type | lambda | using-yield-in-functions | sorted | method | yield | default-mutable-argument | global-keyword | data-structures-in-python | using-the-threading-module | sum() | numeric | stack | nested-loop | list-method | async | sys | complex | id-function | gil | identity-operator | directory-operations | string-concatenation | while-loops | escape-operator | functions | map-function | inheritance | writing:-write(),-writelines() | overflow | operator-or | matrix | deep-copy | inherit | multiprocessing | odd-number | dictionary | boolean-masking | list-vs-tuple | floats | formatting-with-strftime | array | touples | formal-and-actual-parameter | namespace | loop | list,-set,-and-dictionary-comprehensions | generators | operand | polymorphism | loop-control | function | context-manager | string-slicing | classes | logical-operator | operators | integers | built-in-function | objects | using-os-and-pathlib-modules | python | invalid-list | logical-operator | built-in-function | oop | print-statement | set-operation | list-mutation | data-types | raise-statement | why-use-multiprocessing-over-threading?-(gil) | using-assertions-(assertequal,-assertraises) | pickling--unpickling | python-module | class | datetime.date,-datetime.time,-datetime.datetime | syntax | python-repl | dicts | multithreading | while-and-for-loop | zip | control-statement | joining-and-merging-dataframes | boolean-and-non-boolean | error | regular-expression | raise | string-manipulation | exception-handling | bitwise-operator | enumerate() | factorial-function | pass | command-line-parsing | logical-operation | update | format | list | compute | pandas | class-and-inheritance | mapping-function | min-max-function | string-methods | installation | control-flow | constructor | data_structure | descriptors | tuple | software-design | scientific-notation | random | aggregating-data-with-functools.reduce() | assignment-operator | access-modifier | lists | input | tuples | class-and-instance-variable | booleans | center | round | identifier | mysql | expand-tab | regex | list-indexing | asyncio-module | python-django | arithmetic-operation | arithmetic-expression | type-conversion-and-casting | operator | bitwise-operator | reading-and-writing-large-files-efficiently | collections | basic | bitwise | parsing-with-strptime | comparison | methods | string-method | append | anchors-(^,-$) | version | boolean ...