title: Default python /usr/bin/python instead of /usr/local/bin/python
body: <p>I have both python2.6 and python2.7 installed in my CentOS box. python2.6 is installed at <code>/usr/bin/python</code> and i have installed python2.7 from source at location <code>/usr/local/bin/python</code></p>
  
  <p>after the installation my default python is changed to python2.7 instead of pythn2.6 at <code>/usr/bin</code>, I want to use python 2.6 at <code>/usr/bin/python</code>. I have tried following things already nothing worked.</p>
  
  <ol>
  <li>I have created symlink and made it point to python 2.6 at <code>/usr/bin</code></li>
  <li>I have modified my default python path in .bash_profile and but that still doesn't work</li>
  </ol>
  
  <p>Please let me know how can i have python 2.7 installed along with 2.6 installed and python 2.6 as my default version. I have the same thing working with my arch linux box, but this doesn't work with my centos box.</p>
  
  <p>Attaching my .bash_profile,</p>
  
  <pre><code># .bash_profile
  
  export _BASH_PROFILE=1
  
  # Get the aliases and functions
  if [ -z "$_BASHRC" ]; then
          . ~/.bashrc
  fi
  
  unset _BASH_PROFILE
  
  # User specific environment and startup programs
  
  PATH=$PATH:$HOME/bin
  BASH_ENV=$HOME/.bashrc
  USERNAME=""
  
  export USERNAME BASH_ENV PATH
  
  export user=$(/usr/bin/whoami)
  export WK_PORT=8086
  export WK_PATH=ADC
  
  # For DEV accounts change PYDOC_PORT value to 7400 + webkit number. For
  # example WK23 would be port number 7423
  export PYDOC_PORT=7464
  
  
  alias serve="python -m SimpleHTTPServer"
  
  
  unset _BASH_PROFILE
  
  # User specific environment and startup programs
  
  PATH=$PATH:$HOME/bin
  BASH_ENV=$HOME/.bashrc
  USERNAME=""
  
  export USERNAME BASH_ENV PATH
  
  export user=$(/usr/bin/whoami)
  export WK_PORT=8086
  export WK_PATH=ADC
  
  # For DEV accounts change PYDOC_PORT value to 7400 + webkit number. For
  # example WK23 would be port number 7423
  export PYDOC_PORT=7464
  
  
  alias serve="python -m SimpleHTTPServer"
  
  
  PYTHONPATH="$PYTHONPATH:/usr/bin/python"
  </code></pre>