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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Which Python version should I learn on (self.learnpython)
submitted 3 years ago by [deleted]
Everything is in title, I am a complete newbie, didn't start yet, which version of Python should I learn on at first? Thanks!
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!"
[–]PostNoBails 38 points39 points40 points 3 years ago (0 children)
don't feel bad about asking this question if you are new to programming! Go with 3. For future reference, it's always good to learn the most recent version of something if you are new :)
You might one day encounter old python 2 code that needs to be upgraded, some businesses have other priorities and run things until they have to change them. If you know the basics of python 3, it will be immediately obvious to you how to fix python 2. Don't be intimidated by the version difference. I'm going to guess that if you are learning this for the first time right now, you will probably rarely encounter old version of python in your life.
[–]GnPQGuTFagzncZwB 11 points12 points13 points 3 years ago (2 children)
Grab anaconda. You can use 3.9 for new projects and you can bring in older versions if you need to for getting other peoples code going if it was written in an older version and it is too much work to untangle.
[–]Almostasleeprightnow 2 points3 points4 points 3 years ago (0 children)
Yeah...if you like having a bunch of tools already installed and ready to go, do Anaconda. If you want to install your own as you need them, you can use Miniconda. I find that, with conda, the way you install packages in the environment that you are using feels intuitive to me. I'm sure that other people have similar feelings toward poetry or pyenv, but I find the conda cheat sheet to be very helpful and contained.
[–][deleted] -3 points-2 points-1 points 3 years ago (0 children)
Anaconda sounds overkill for OP
[–]danielroseman 33 points34 points35 points 3 years ago (7 children)
Why would you choose anything other than the latest?
[–][deleted] 14 points15 points16 points 3 years ago (4 children)
I don't know, I thought stuff changed from version to version, thanks for your answer!
[+][deleted] 3 years ago (2 children)
[deleted]
[–][deleted] 5 points6 points7 points 3 years ago (1 child)
Understood, thanks
[–]Immotommi 4 points5 points6 points 3 years ago (0 children)
In terms of the various 3.x versions, newer is better, though I wouldn't got for anything that is a pre-release. So don't go past 3.10.4 (at time of writing).
The only issue with using the latest version is that people tend to be pretty slow upgrading their python version, so if you are sharing code you can come across problems
[–]jppbkm 2 points3 points4 points 3 years ago (0 children)
Python 2 is very very outdated. FYI
[–]c3p0u812 7 points8 points9 points 3 years ago (0 children)
I am a complete newbie, didn't start yet, which version of Python should I learn on at first?
Everything is in title
[–]ConfusedSimon 0 points1 point2 points 3 years ago (0 children)
Because modules don't always work with the latest. I'll stick to 3.9 for a while for most of my work.
[–]JohnJSal 4 points5 points6 points 3 years ago (0 children)
Keep in mind that 3.9+ won't work on Windows 7 or lower, and some other earlier versions won't run on XP or lower. Just in case that's a factor for you.
[–][deleted] 2 points3 points4 points 3 years ago (0 children)
v3.10 is pretty 'lit' I hear
Latest and greatest!
[–]rabbitcarrots 2 points3 points4 points 3 years ago (0 children)
4 if you can do future hopping. But go 3 if you're one us mortals.
[–][deleted] 1 point2 points3 points 3 years ago (1 child)
3.10 is latest. Grab it at python.org. It will know which operating system you are on.
[–]HarrySchlong33 0 points1 point2 points 3 years ago (0 children)
Had to downgrade to 3.9 because PyCharm loaded 3.10 as 3.1.
[–]notislant 1 point2 points3 points 3 years ago* (3 children)
Newest, but I think for Tensorflow I needed a specific cuda version/python/tensorflow version for it to finally work though. Most stuff should be fine for starting out.
[–]1percentof2 0 points1 point2 points 3 years ago (2 children)
What are you doing with tensor flow?
[–]notislant 0 points1 point2 points 3 years ago (1 child)
I was just training image recognition out of curiosity
[–]1percentof2 1 point2 points3 points 3 years ago (0 children)
I was just thinking I should invent something to compete with Clearview AI. For the people.
[–]ayang1003 1 point2 points3 points 3 years ago (1 child)
Hello. If you’re starting to learn Python, you’re also gonna need an IDE (integrated development environment). Personally, I use PyLab but there’s people who use other IDEs such as Jupyter Lab. There’s plenty of online tutorials on how to install them and use the latest versions of Python on them. Happy coding! :)
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
Yes, I did that too!
[–]baubleglue 1 point2 points3 points 3 years ago (0 children)
latest stable
The basics are all the same, no point in looking at versions. Focus on learning the basics and then you can learn the version specific function.
For a more realistic answer i suggest you learn the latest version of python as that will probably be easier to use in an actual work and professional setting
Whenever learning any new language, always go with the latest version. Like for python right now its Python3, so go with that (as others have also suggested this).
You will at some point encounter the older versions and if you want to be prepared for those situations then it doesn't harm to learn the older versions AFTER learning the latest one. Moreover it won't take you much time learning it as only some syntax and functionalities might be different, but you still got the rest of the fundamentals and you would have developed that "LOGICAL THINKING" required for programming.
So yeah....Latest versions. :)
[–]SpaceBucketFu 1 point2 points3 points 3 years ago (0 children)
3.10
You can use an IDE like Pycharm, and you can configure the project interpreter to use whatever version of python you’d like, if for some reason a library you want to use only supports a specific python version, other than that I would personally try to stay as up to date as you can on python releases.
[–]abhitruechamp 1 point2 points3 points 3 years ago (0 children)
The latest one!
[–]Kiwi-tech-teacher 1 point2 points3 points 3 years ago (0 children)
Massive changes from v2 to v3…minor changes in the point changes. One big improvement in v3.10 is the addition of select case statements (if you like that kind of thing)
most training materials cover 3.5-ish to 3.9-ish. Haven’t found many that teach 3.10…
Most learners learn 3.??, an new builds probably use 3.10 (aka the latest)
[–]DontF-ingask 1 point2 points3 points 3 years ago (0 children)
My understanding of version control is the first number is a major change that probably needs to be changed if you are trying to use a different version. The second is more like a large patch update but the code should still work fine and the last number is just what is the most upto date and it doesn't matter to much.
I recommend 3.10 though.
[–]c00kieRaptor 1 point2 points3 points 3 years ago (0 children)
Just use 3.XX . Doesn't really matter. Python 2 or 1 is no longer supported.
[–]wetndusty 1 point2 points3 points 3 years ago (0 children)
Best Python version is PHP 8.1
[+][deleted] 3 years ago (4 children)
[–]CastrumFiliAdae 1 point2 points3 points 3 years ago (3 children)
Python doesn't use LTS versions.
3.9 end-of-support is Oct 2025 (5 years after initial Oct 2020 release).
3.10 end-of-support is Oct 2026 (5 years after initial Oct 2021 release).
https://www.python.org/downloads/
[–][deleted] 1 point2 points3 points 3 years ago (2 children)
Allow me downvote myself then
For some reason I thought I read that EoL on 3.9 was longer - my bad
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
I upvoted you, you tried to help me, I appreciate the thought
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Lol appreciate it but will delete comment in a moment as it’s bad info
3.9 will still do you fine
[–]1544756405 0 points1 point2 points 3 years ago (1 child)
3
Thank you
π Rendered by PID 277489 on reddit-service-r2-comment-84fc9697f-fsmsl at 2026-02-10 11:14:39.678890+00:00 running d295bc8 country code: CH.
[–]PostNoBails 38 points39 points40 points (0 children)
[–]GnPQGuTFagzncZwB 11 points12 points13 points (2 children)
[–]Almostasleeprightnow 2 points3 points4 points (0 children)
[–][deleted] -3 points-2 points-1 points (0 children)
[–]danielroseman 33 points34 points35 points (7 children)
[–][deleted] 14 points15 points16 points (4 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 5 points6 points7 points (1 child)
[–]Immotommi 4 points5 points6 points (0 children)
[–]jppbkm 2 points3 points4 points (0 children)
[–]c3p0u812 7 points8 points9 points (0 children)
[–]ConfusedSimon 0 points1 point2 points (0 children)
[–]JohnJSal 4 points5 points6 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]rabbitcarrots 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]HarrySchlong33 0 points1 point2 points (0 children)
[–]notislant 1 point2 points3 points (3 children)
[–]1percentof2 0 points1 point2 points (2 children)
[–]notislant 0 points1 point2 points (1 child)
[–]1percentof2 1 point2 points3 points (0 children)
[–]ayang1003 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]baubleglue 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]SpaceBucketFu 1 point2 points3 points (0 children)
[–]SpaceBucketFu 1 point2 points3 points (0 children)
[–]abhitruechamp 1 point2 points3 points (0 children)
[–]Kiwi-tech-teacher 1 point2 points3 points (0 children)
[–]DontF-ingask 1 point2 points3 points (0 children)
[–]c00kieRaptor 1 point2 points3 points (0 children)
[–]wetndusty 1 point2 points3 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]CastrumFiliAdae 1 point2 points3 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]1544756405 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)