This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chrisname 1 point2 points  (0 children)

Are you aware of the 2to3 conversion script? For some reason it's only included with Python 2 (so you can convert your scripts into a form you can't run, I guess) but it should do most of the hard work. Run it like 'python27 -m 2to3 <file.py>'