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

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