Python – How to update python 2.6.5 to 2.7

pythonpython-2.7Ubuntuupdates

I'm writing a program in python, which requires the use of the Counter function, which is not supported by python 2.6.5. So I have been trying to find a way to update my python interpreter to the next version, but I haven't found anything for ubuntu 10.04. Could anyone tell me how I can update python 2.6.5 to python 2.7?

Best Answer

The procedure given here worked fine for me, and download the tarball from http://www.python.org/download/.