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

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