blob: 8d5271ad107a932ed595a9a43426a2bdf7501377 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
;; http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc5
(setq
python-shell-interpreter "ipython"
python-shell-interpreter-args ""
python-shell-prompt-regexp "In \\[[0-9]+\\]: "
python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: "
python-shell-completion-setup-code
"from IPython.core.completerlib import module_completion"
python-shell-completion-module-string-code
"';'.join(module_completion('''%s'''))\n"
python-shell-completion-string-code
"';'.join(get_ipython().Completer.all_completions('''%s'''))\n")
|