1.10 Test-Drive: Using IPython and Jupyter Notebooks
In this section, you’ll test-drive the IPython interpreter25 in two modes:
In interactive mode, you’ll enter small bits of Python code called snippets and immediately see their results.
In script mode, you’ll execute code loaded from a file that has the
.py
extension (short for Python). Such files are called scripts or programs, and they’re generally longer than the code snippets you’ll do in interactive mode.
Then, you’ll learn how to use the browser-based environment known as the Jupyter Notebook for writing and executing ...
Get Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud 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.