Chapter 2. Interactive Work with IPython

In this chapter, we will detail the various improvements that IPython brings to the standard Python console. In particular, we will perform the following tasks:

  • Access the system shell from IPython for powerful interactions between the shell and Python
  • Use dynamic introspection to explore Python objects or even a new Python package without even the need to look at the documentation
  • Easily debug and benchmark your code from IPython
  • Learn how to use the IPython notebook to improve considerably the way you interact with Python

The extended shell

IPython is not only an extended Python console, but it also provides several ways to interact with the operating system during a Python interactive session without quitting ...

Get Learning IPython for Interactive Computing and Data Visualization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.