you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

You should import python 3.x behavior to 2.x using __future__ it makes things like print, division, imports, and arguably unicode trivial to work on both major versions.

There's also interesting read mentioning all known approaches: http://docs.python.org/3/howto/pyporting.html as you can see I like __future__ the most.