Python2-futurize

Python2-futurize

python2-futurize

single-source support for Python 3 and 2 – Python 2.x

Maintainer: Debian Python Modules Team



Section: python

Install python2-futurize

  • Debian apt-get install python-future Click to copy
  • Ubuntu apt-get install python-future Click to copy
  • Arch Linux pacman -S python-future Click to copy
  • Kali Linux apt-get install python-future Click to copy
  • Raspbian apt-get install python-future Click to copy

python-future

single-source support for Python 3 and 2 - Python 2.x

Future is the missing compatibility layer between Python 2 and Python 3. It allows one to use a single, clean Python 3.x-compatible codebase to support both Python 2 and Python 3 with minimal overhead. The imports have no effect on Python 3. On Python 2, they shadow the corresponding builtins, which normally have different semantics on Python 3 versus 2, to provide their Python 3 semantics. This package contains the Python 2.x module.

Installation of latest python2-futurize command is available for Debian, Ubuntu, Arch, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.