Here is a one block automated install for Python3.8 on CentOS:
yum install make gcc openssl-devel bzip2-devel libffi-devel -y
cd /opt
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
tar xzf Python-3.8.0.tgz
cd Python-3.8.0
./configure --enable-optimizations
make altinstall
rm Python-3.8.0.tgz
python3.8 --version
cd /root