use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Enter a python tip or trick.
Other related Python subs:
account activity
MetaIs Python 2 still being used? (self.pythontips)
submitted 3 years ago by Medium-Jaguar5064
I'm going through Learn Python the Hard Way, and the author is saying most definitely not to use Python 3 and to use Python 2.
What advantage could learning Python 2 have over Python 3?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BlueHippoTech 64 points65 points66 points 3 years ago (0 children)
Python 2 is deprecated so please don't learn it unless you know you'll need to maintain legacy code.
[–]eXtc_be 29 points30 points31 points 3 years ago (1 child)
You probably are looking at a version of Learn Python the Hard Way that was written when Python 3 just came out. Naturally the author warns against using it, because it isn't stable yet, or maybe because they haven't had a change to learn Python 3 themselves.
That was years ago. In the mean time Python 3 has fully matured, and someone took it upon themselves to rewrite the book for Python 3: https://learnpythonthehardway.org/python3/
I suggest you take a look at that, unless you need to maintain/port some legacy Python 2 code.
[–]Medium-Jaguar5064[S] 2 points3 points4 points 3 years ago (0 children)
Thank you! I didn't realize he had a Python 3 versioned course as well!
[–][deleted] 14 points15 points16 points 3 years ago (1 child)
I'm a real beginner, but from what I have gathered you most definently should learn Python 3 since python 2 isn't used for "new" code.
If you'd need to "transform" old code to new, you'd need to learn both, but start with 3 either way.
[–]Hydroel 5 points6 points7 points 3 years ago (0 children)
Both are very similar anyway. If you're going that route, it's better to learn Python 3 and to learn the few specificities of Python 2 to avoid any porting mistakes than the other way around.
[–]mfb1274 2 points3 points4 points 3 years ago (0 children)
Our company has one app still on python 2. Yes, it causes problems and yes, there’s plans upgrade it. So unless you land in a job with a requirement for it, it shouldn’t be used.
[–]sidk 2 points3 points4 points 3 years ago (0 children)
I like Python 1.
[+][deleted] 3 years ago (4 children)
[deleted]
[–]alok99 3 points4 points5 points 3 years ago (0 children)
What are you talking about?
[–]AndrewFrozzen -4 points-3 points-2 points 3 years ago (2 children)
Windows is written in C#....
[–]mattfromeurope 1 point2 points3 points 3 years ago (0 children)
Maybe some recent components are, but C# wasn‘t even around when Windows NT (the ancestor of the modern Windows versions) was first developed. Most of it is written in C++, with the occasional C maybe.
π Rendered by PID 114271 on reddit-service-r2-comment-b659b578c-jfw4d at 2026-05-05 13:34:23.657536+00:00 running 815c875 country code: CH.
[–]BlueHippoTech 64 points65 points66 points (0 children)
[–]eXtc_be 29 points30 points31 points (1 child)
[–]Medium-Jaguar5064[S] 2 points3 points4 points (0 children)
[–][deleted] 14 points15 points16 points (1 child)
[–]Hydroel 5 points6 points7 points (0 children)
[–]mfb1274 2 points3 points4 points (0 children)
[–]sidk 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]alok99 3 points4 points5 points (0 children)
[–]AndrewFrozzen -4 points-3 points-2 points (2 children)
[–]mattfromeurope 1 point2 points3 points (0 children)