Please use altinstall to have multiple python
# cd /usr/src/
# wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz
# tar -xzvf Python-2.7.2.tgz
# cd Python-2.7.2
# ./configure
# make altinstall
To verify the newly installed python, run this below command.
# python2.7 -V
Python 2.7.2
Typically cpanel server server uses the Python 2.6.6 by default. But we can use newer version of python as well.
# which python2.7
/usr/local/bin/python2.7
That's it. We're done.