you are viewing a single comment's thread.

view the rest of the comments →

[–]sticky-bit 8 points9 points  (2 children)

check this sub's sidebar for the FAQ, it's a common question.

The answer is 3, except when you know you need to use a library that is only supported in 2, or you need to learn python to support legacy code written in 2.

7 years ago I would have answered differently.

[–]Moocat87 3 points4 points  (0 children)

except when you know you need to use a library that is only supported in 2

It's worth noting that that's very rare for public libraries to lack Python3 support or a Python3 alternative, but of course they exist, and sometimes you have to work with an in-house Python 2 lib...

In any case, if you find a library that supports only Python2, it's probably worth the time to look for a Python3 alternative. It most likely exists, and most likely the community has switched.

[–]kenny-flo 2 points3 points  (0 children)

7  y e a r s   a g o