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

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