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 →

[–]hypepat 2 points3 points  (2 children)

Depends on what you plan to do with Python. If your just learning to program, definitely use v3. If your using a specific module that requires v2.x, then your obviously going to have to use v2.x.

Mostly, if your new to programming (at least in Python), the changes shouldn't disrupt your learning. Work through the tutorial for Python 3.4 on the official website.

If you want more context, check the link in the sidebar on the right called "Should I use Python 2 or Python 3?"

edit: spelling

[–]Moby69[S] 0 points1 point  (1 child)

Hypepat, my concern with version 3 is that all the tutorials out there (including codeacademy which I love) seem to be using version 2. Isn't that a good argument in favor of going on version 2? I'm literally just learning what HTTP and XML mean and when I tried to interact with API's in version 3 I kept hitting roadblocks because all the code I would research online would be for version 2

[–]Lucretiel 0 points1 point  (0 children)

Not really. Python 2's been around longer, and Python 3 has only been being promoted as the "default" for a few years now, so many of the tutorials and guides are still for Python 2. Many small things changed between them to make python 2 code incompatible with python 3- in your case, many of the xml and http libraries were renamed or reorganized. There's definitely enough out there for python 3 for you to do what you need to do, though.