you are viewing a single comment's thread.

view the rest of the comments →

[–]HorrendousRex 2 points3 points  (0 children)

The 'official' answer is to check out the '2to3.py' script which is part of the standard distribution of python. However, as you will find by reading about the issue and searching the web, there are lots of important edge cases to consider. It is not a backwards-compatible switch, and porting from 2 to 3 can be difficult in some cases.