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

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