Is this what you want? http://docs.webfaction.com/software/python.html
1. Open an SSH session. 2. Open ~/.bash_profile in a text editor. 3. On a new line, add alias python=python*X.Y* where *X.Y* is the Python version number. For example, to use Python 2.6 by default, add a new line containing alias python=python2.6. 4. Save and close the file. 5. Reload ~/.bash_profile. Enter source ~/.bash_profile and press Enter I always like to start from scratch if I can!