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

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