Skip to content
IPython magic in Emacs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
License.txt
Readme.org
ipython-shell-send.el

Readme.org

ipython-shell-send

This is a small emacs package to send code regions to the IPython interpreter. It provides functionality similar to the built-in python-shell-send-* commands, but with two differences:

  1. IPython magic commands such as !ls or %timeit work
  2. The result of the final expression is printed, as in Jupyter cell execution

The following functions send the buffer, highlighted region, or current defun to a running IPython interpreter:

ipython-shell-send-buffer
ipython-shell-send-region
ipython-shell-send-defun

To use these functions, you should configure run-python to launch an IPython console, instead of a regular Python console.

You can’t perform that action at this time.