3to2

Python2 helper to backport code written for Python version 3.x into 2.x

Ubuntu
RUN apt-get update && \ apt-get install -y python-3to2
Raspbian
RUN apt-get update && \ apt-get install -y python-3to2
click the source code to copy install 3to2 on any operating system with command-not-found.com