Re:Why Are There So Many Pythons?
by sitkack on Wednesday January 15, 2014 @11:29AM
(#7064224)
Someone else mentioned future, http://python-future.org but I thought I would give it another shout out.
> future is the missing compatibility layer between Python 2
> and Python 3. It allows you to use a single, clean
> Python 3.x-compatible codebase to support both Python 2
> and Python 3 with minimal overhead.
So in effect, you can run with some Python3 isms on Python2. All your Python is now 3 like and you can start migrating without losing the underlying infrastructure.
> future is the missing compatibility layer between Python 2 > and Python 3. It allows you to use a single, clean > Python 3.x-compatible codebase to support both Python 2 > and Python 3 with minimal overhead.
So in effect, you can run with some Python3 isms on Python2. All your Python is now 3 like and you can start migrating without losing the underlying infrastructure.