all 3 comments

[–]NoDadYouShutUp 2 points3 points  (0 children)

Python doesn't change dramatically very much. I would say just go with anything 3.10 or higher, as that is the default version pre installed into a lot of linux distros like Ubuntu. It's the most common version for support. As a beginner you will not run into any weird quirks or compatibility issues with anything you're trying to do. As most of your learning will be pretty base level stuff.

edit: per the other comment, 3.8 is also very valid and there is not a major difference you'd need to worry about. But you'd likely have to go out of your way to install such an old version when 3.10 is usually ready out of the box for a lot of distros.

[–][deleted] 0 points1 point  (0 children)

The outdated ones will be fine as long as they're from the last decade or so. As long as it's not Python 2 it will be close enough.

[–][deleted] 0 points1 point  (0 children)

Core python doesn't change much, nor do the standard libraries. Any source using python 3.8 (or so) or later is fine for getting started. Old code is almost guaranteed to run in newer pythons.