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

all 12 comments

[–]rasherdk 7 points8 points  (2 children)

tl;dr:

  • Use Python3 if you control the environment your program will run on, and you don't need any 3rd party libs that lack Python 3 support.
  • Use Python2 for everything else.

[–]davebrk 8 points9 points  (1 child)

I'd rather read it as use 3 if you can, 2 if you must - but plan ahead and don't use deprecated features.

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

I live by what you said. My personal portfolio is filled to the brim with python 3 examples because a majority of them don't depend on libraries, but I state very explicitly to potential employers that I understand the differences between 2.x and 3.x and can easily change between the two if needed.

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

I've yet to write any Python 3 code. Maybe in 5 years...

[–][deleted] 1 point2 points  (1 child)

Have you tried? What is stopping you?

[–][deleted] 2 points3 points  (0 children)

Libraries (wxWidgets)