Closed ifduyue closed 5 years ago
$ cat urls.txt https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz https://www.python.org/ftp/python/3.4.10/Python-3.4.10.tgz https://www.python.org/ftp/python/3.5.7/Python-3.5.7.tgz https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz $ wget -qNi urls.txt $ echo Python-*.tgz | xargs sha256sum | perl -pn -e 's|Python-||;' -e 's|\.tgz$||' | awk '{print "'\''" $2 "'\'': '\''" $1 "'\'',"}' '2.7.16': '01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5', '3.4.10': '217757699249ab432571b381386d441e12b433100ab5f908051fcb7cced2539d', '3.5.7': '542d94920a2a06a471a73b51614805ad65366af98145b0369bc374cf248b521b', '3.7.3': 'd62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff',