r/learnpython • • Dec 18 '16

python 2 to 3

Hi, I'm about 15 lessons in to learn python the hard way and I just found out that it is outdated. My question is should I just abandon it and move to something else on the python 3 platform like automate the boring stuff with python or should I still go through with it?

10 Upvotes

8 comments sorted by

View all comments

1

u/tunisia3507 Dec 19 '16

You're welcome to stick with LPTHW, but I highly, highly recommend looking up the differences between 2 and 3 and then using 3 when you're actually doing exercises and hacking. Otherwise you start with a 2 codebase, then you copy and paste some stuff into new projects, spend a while debugging gotchas and so on - there's just never a better time to switch than right at the start.

However, knowing the differences is valuable in its own right, so translating LPTHW as you go will be a worthwhile exercise!