To start an interactive session with IPython, use the command ipython. If you have different Python versions installed, you have to specify ipython3:
Notice that the input prompt is In [N]:, rather than >>>. The N number refers to the command in IPython history and can be recalled for use again, just like the Bash shell's history.
IPython's interpreter functions just like the vanilla Python interpreter, while adding functionality. The static text in these examples doesn't do the environment justice, as syntax highlighting, auto-indenting, and tab completion occur in real time. The following is an example of some simple commands ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.