My SLES11 box came with Python 2.6 installed. I would like to upgrade to 2.7. What is the easiest way to do this?
Most likely, you're not going to want to replace the existing python, since that would probably break the existing OS software.
You could either build a package for python 2.7, and have it install as /usr/bin/python2.7, or install in another location like /usr/local/bin/python. Or, you could just compile manually and install in /usr/local. If you're installing to an alternate location, use make altinstall.