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

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