futurize-3

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

Install

All systems
curl cmd.cat/futurize-3.sh
Debian Debian
apt-get install python3-future
Ubuntu
apt-get install python3-future
image/svg+xml Kali Linux
apt-get install python3-future
Fedora
dnf install python3-future
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-future
Raspbian
apt-get install python3-future

python3-future

Clean single-source support for Python 3 and 2 - Python 3.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 3.x module.