首页 > 解决方案 > 在elpy(Django命令)中从默认python解释器切换到ipython

问题描述

Elpy 使用默认的 python 解释器(elpy-django-command shell),我想知道是否可以使用 Ipython 代替。

标签: djangoemacsipythonelpy

解决方案


是的。请参阅interactive-python上的 elpy 文档。放

(setq python-shell-interpreter "ipython"
      python-shell-interpreter-args "-i --simple-prompt")

推荐阅读