I have seen many people recommend using the following snippet to insert an IPython shell or go to an IPython shell, for example. kind of django.
from IPython.Shell import IPShellEmbed ipython = IPShellEmbed() ipython()
But when I do this, I get
>>> from IPython.Shell import IPShellEmbed Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named Shell
How can I embed IPython or launch the IPython console from an existing python application?
python ipython
Caspar
source share