Created
March 7, 2020 23:49
-
-
Save userdocs/972667216473340b21feb6a09c4477be to your computer and use it in GitHub Desktop.
get latest python 3 version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export python_version="$(curl -sNL https://www.python.org/downloads/source/ | sed -rn 's|(.*)Latest Python 3 Release - Python (.*)</a></li>|\2|p')" | |
export python_url="https://www.python.org/ftp/python/$python_version/Python-$python_version.tgz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment