Simple. Here are the steps:
1. Remove the Python 2.7 framework
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7
2. Remove the Python 2.7 applications directory
sudo rm -rf “/Applications/Python 2.7”
3. Remove the symbolic links in /usr/local/bin