title: Using python2.7 with Emacs 24.3 and python-mode.el
body: <p>I'm new to Emacs and I'm trying to set up my python environment. So far I've learned that using "python-mode.el" in a python buffer <code>C-c C-c</code> loads the contents of the current buffer into an interactive python shell, apparently using what <code>which python</code> yields. In my case that is python 3.3.3. But since I need to get a python 2.7 shell, I'm trying to get Emacs to spawn such a shell on <code>C-c C-c</code>. Unfortunatly I can't figure out, how to do this. Setting <code>py-shell-name</code> to what <code>which python2.7</code> yields (i.e. <code>/usr/bin/python2.7</code>) does not work. How can get Emacs to do this, or how can I trace back what Emacs executes when I hit <code>C-c C-c</code>?</p>