dotfiles/elpa/python-mode-6.0.10
2013-03-24 00:47:03 -07:00
..
completion Initial 2013-03-15 10:35:58 -07:00
doc Initial 2013-03-15 10:35:58 -07:00
test Removed .elc files. 2013-03-16 20:10:33 -07:00
byte-compile-directory.sh Initial 2013-03-15 10:35:58 -07:00
INSTALL Initial 2013-03-15 10:35:58 -07:00
LICENSE Initial 2013-03-15 10:35:58 -07:00
NEWS Initial 2013-03-15 10:35:58 -07:00
PKG-INFO Initial 2013-03-15 10:35:58 -07:00
python-mode-autoloads.el Initial 2013-03-15 10:35:58 -07:00
python-mode-pkg.el Initial 2013-03-15 10:35:58 -07:00
python-mode.el Fixed dumb python-mode hijaking ruby thing. 2013-03-24 00:47:03 -07:00
README Initial 2013-03-15 10:35:58 -07:00
setup.py Initial 2013-03-15 10:35:58 -07:00
ToDo Initial 2013-03-15 10:35:58 -07:00

Customize default Python shell as `py-shell-name'

`py-shell-name' might be an installed executable as
shell command `type' would display, but also a
PATH/TO/(I)PYTHON, of a virtualenv for example

To change the Python default shell see also INSTALL

Most python-mode.el commands start with prefix `py-'

`M-x py- TAB'
displays a list of them in completion-buffer. 
See also commands list delivered in directory doc.

List virtualenv related `M-x virtualenv- TAB'
resp. Pymacs commands `M-x pymacs-'  

Commands related to a specific shell start with
it's name as `ipython-complete'.
Open an installed shell by 

M-x SHELL

With prefix C-u user is prompted to specify a PATH-TO-LOCAL-SHELL
Also evaluating

(py-shell nil DEDICATED PATH-TO-LOCAL-SHELL)

if DEDICATED is set to `t', shell will get an unique name.

Install a local shell by evaluating

(defun MY-LOCAL-SHELL ()
  (interactive)
  (py-shell nil DEDICATED PATH-TO-LOCAL-SHELL))

If `py-complete-function' is set, it takes precedence