I just downloaded python 2.7 on my mac which runs OS X 10.6.8. The previous version of python installed was 2.6.
When I type python in the terminal it o
python
Add followings to your ~/.bash_profile
~/.bash_profile
# Setting PATH for Python 2.7 PATH="/path/to/your/python2.7/bin:${PATH}" export PATH
Save the file and reopen the terminal.