IPython
IPython is a package that powers Python's interactive shell and sits behind notebooks; in the course you import it to display results nicely.
Used in 20 lessons of the course, from 00.01.
IPython is a third-party package. It started as a better interactive shell than the default Python one, and today it is the engine behind Jupyter, the notebooks where the course runs.
You meet it in a line like from IPython.display import Markdown, display. Read it as: from the display module, inside the IPython package, bring Markdown and display. With them, a notebook cell can show formatted text instead of plain text.
Why it is written this way: print() only shows plain text. display() asks the notebook to use the best way to show an object. Markdown wraps a string so it renders with headings, lists and bold.
It is not part of the standard library, so it must be installed. In a notebook it is already included.
Reach for it when: you work in a notebook and want to show a model's answer rendered as Markdown.
Examples
Common mistake
from ipython.display import display
Why: Python is case-sensitive. The package is called `IPython`, not `ipython`.
How to write it: Write from IPython.display import display.
