【发布时间】:2013-05-01 18:56:03
【问题描述】:
我在 windows 下使用 emacs 24.3,ipython 0.13.1,python 2.7.3 我使用带有 emacs 的 python.el 配置 ipython shell
;; setup ipython for default interpreter
(setq python-shell-interpreter "C:/Python27/python")
(setq python-shell-interpreter-args "-i C:/Python27/Scripts/ipython-script.py --pylab")
(setq python-shell-prompt-regexp "In \\[[0-9]+\\]: ")
(setq python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: ")
(setq python-shell-completion-setup-code "from IPython.core.completerlib import module_completion")
(setq python-shell-completion-module-string-code "';'.join(module_completion('''%s'''))\n")
(setq python-shell-completion-string-code "';'.join(get_ipython().Completer.all_completions('''%s'''))\n")
效果很好,只是没有数字输出... 有人在这里有同样的经历吗?解决办法?
【问题讨论】: