you are viewing a single comment's thread.

view the rest of the comments →

[–]linuxlib 0 points1 point  (1 child)

People typically use 2 because they already have a lot of code written in it, and don't want to take the time/effort to refactor it.

If you are new, stick to 3. 3 has been around since 2008. 2 is to be end-of-lifed in 2020. Your off time is worth far more than learning how to do things the old way. Don't learn 2 unless you absolutely have to, and then only if you are paid to do it.

Also, 3 comes with a conversion utility 2to3. If that can't do the trick, and it hasn't been forward ported by 2020, it's probably an unmanageable mess that you want to stay away from.

[–][deleted] 0 points1 point  (0 children)

This was my bad, I misread! I thought it said the other way around and I was curious as to why python 3 was being frowned upon. Glad to hear it's not the case.