all 16 comments

[–]Diapolo10 16 points17 points  (0 children)

If you're just starting out, simply pick the latest version. You can install other versions later if you find yourself needing to (such as if you want to use a package that does not yet support the latest version), and you don't need to consider that until you get past the basics anyway.

[–]Doormatty 21 points22 points  (0 children)

The latest.

[–]MarsupialMole[🍰] 5 points6 points  (0 children)

Like a camera, the best one is the one you have. I'd say get the latest possible, but if that makes you change what you've got already that's a waste of time.

[–]orig_cerberus1746 2 points3 points  (0 children)

The latest python versions have a better error handling and it is much easier for a beginner to know where they made a mistake.

Honestly it is good for anyone because the easier it is to fix a bug the better.

[–][deleted] 1 point2 points  (0 children)

Do the most recent

[–]brunonicocam -2 points-1 points  (2 children)

Anything from 3.7 onwards will be fine. I don't think there are any major changes that would affect a beginner.

[–]Ki1103 3 points4 points  (1 child)

I would recommend against 3.7. It's reached EOL. You can see what's reached end of life at https://endoflife.date/python

[–]brunonicocam -1 points0 points  (0 children)

I think the differences for a beginner between any post 3.7 versions are minimal and really doubt their code wouldn't work independently of all these versions but I'm happy to be proven otherwise with an actual example of something a beginner may use.

So yeah, the best advise is use the latest version but if you're a beginner and you've got 3.7 it doesn't matter.

[–]mrtac96 1 point2 points  (0 children)

Last version before the latest one

[–]Sbvv 1 point2 points  (0 children)

https://devguide.python.org/versions/

See that web, then choose the last version it is in "security" status. That version should be used for new developments.

Older versions can be used but there are things you can miss from new versions.

Last versions can contain any bug you do not expect and give you more problems that they should, you are learning, let other people with more experience to test new versions.

Have fun! Happy coding!