Working with cells

Individual cells function very much like the IPython command line, with the slight change that hitting Enter does not cause the cell to be executed, but instead creates a new line to be typed on. In order to execute a cell, there are many options:

  • Alt + Enter runs the current cell and inserts a new one below
  • Ctrl + Enter runs the current cell and does not create a new cell
  • The Cell menu item contains a list of ways to run cells, including Run All

The result of cell execution is very similar to what would be expected from the command line, for example:

Working with cells

Note that the bottom cell contains Markdown text (http://daringfireball.net/projects/markdown/ ...

Get Mastering IPython 4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.