Switch from default python interpreter to ipython in elpy (Django command)

431 Views Asked by At

Elpy uses the default python interpreter (elpy-django-command shell), I wondered if it is possible to use Ipython instead.

1

There are 1 best solutions below

0
On

Yes. See the elpy docs on interactive-python. Set

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