Closed ifduyue closed 4 years ago
$ cat > urls.txt https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tgz https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tgz https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz $ wget -qNi urls.txt $ echo Python-*.tgz | xargs sha256sum | perl -pn -e 's|Python-||;' -e 's|\.tgz$||' | awk '{print "'\''" $2 "'\'': '\''" $1 "'\'',"}' '3.6.10': '7034dd7cba98d4f94c74f9edd7345bac71c8814c41672c64d9044fa2f96f334d', '3.6.9': '47fc92a1dcb946b9ed0abc311d3767b7215c54e655b17fd1d3f9b538195525aa', '3.7.6': 'aeee681c235ad336af116f08ab6563361a0c81c537072c1b309d6e4050aa2114', '3.8.1': 'c7cfa39a43b994621b245e029769e9126caa2a93571cee2e743b213cceac35fb',