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

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