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

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