Re: Why didn't they...
They did. It's called 2to3 but turned out not to be a good idea, because the resulting code would only run on Python 3. In practice it's relatively straightforward to write code that runs on both Python 2 and Python 3
They did. It's called 2to3 but turned out not to be a good idea, because the resulting code would only run on Python 3. In practice it's relatively straightforward to write code that runs on both Python 2 and Python 3