Level 9 : What is the purpose of the __future__ module in Python?

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