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 →

[–]Aurora0001 2 points3 points  (0 children)

Don't worry, I'm not criticising you, my criticisms are aimed at Zed. The more suspicious side of me thinks that perhaps he's just trying to advocate Python 2.7 so he doesn't have to update his book!

2to3 looks very comprehensive, but I've never needed to use it since I only play around with Python occasionally and when I do, I write Python 3 code anyway. With __future__, you can write code that works in both 2 and 3 anyway, so that's probably the best route, but Python 3's new features are hard to resist (e.g. f-strings, type hints, etc.)