IPython is designed and developed with the aim of providing an enhanced Python shell that makes it possible to perform interactive distributed and parallel computing. IPython also has a set of tools for building special-purpose interactive environments for scientific computing. It has two components that help fulfill the aim of IPython:
An enhanced interactive IPython shell
Architecture for interactive parallel computing
In this section, we will first discuss the components that enhance the interactive IPython shell. We will cover the other component for interactive parallel computing in Chapter 8, Parallel and Large-scale Scientific Computing.
The interface provided by IPython is shown in the next screenshot. We can apply a different coloring scheme to this console; the default coloring scheme is NoColor
. We have other options such as Linux
and LightBG
. An important feature of IPython is that it is stateful, as it maintains the state of the computations...