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

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