I am trying to make a scripted download/install of the latest version of python.
For Golang I can use the following URL to determine the newest version of Golang.
https://golang.org/VERSION?m=text and then download it.
Is there a similar URL or some other way to get the latest version of Python3?
I do not want to hardcode the version number... my script should simply install/update the Python3 installation in the target directory.
Hi you could use https://www.python.org/downloads/release/python-x
and then enter the python Version you want without the dots.
For Python 3.8.10 the link would look like this:
https://www.python.org/downloads/release/python-3810/
Scripted Python Install for Latest Version