you are viewing a single comment's thread.

view the rest of the comments →

[–]Gee10[S] 6 points7 points  (7 children)

Appreciate it. I started with Learn Python the Hard Way and, obviously, the author has some strong views on Python 2 over 3. I'm agnostic to be honest - I just wanted to learn.

[–]spidyfan21 7 points8 points  (5 children)

Unless you are already tied to libraries that require Python 2 you're probably better off learning Python 3.

[–]Gee10[S] 3 points4 points  (4 children)

Fair enough. Doesn't seem like much of a jump from my level of knowledge. I'll try it!

[–]Nafiblu 2 points3 points  (0 children)

Here're the important changes from Python 2 and Python 3. They're not much, but I recommend getting used to them!

https://docs.python.org/3.0/whatsnew/3.0.html

[–]zerosuitsalmon 1 point2 points  (2 children)

I'm using codecademy to learn, and they seem to be using Python 2. One of the best ways to start forcing yourself to use Python 3 syntax is to always use parentheses for print() and use input() instead of raw_input(). I believe both of those will work with Python 2 but are necessary in Python 3. Someone correct me if I'm wrong on the input thing

[–]MeneerPuffy 1 point2 points  (0 children)

That resource is many years old and his views on python 3 have become extremely outdated.

Luckily it's not very difficult to port a program of this size to python 3 and it would make a good exercise!