Skip to content

Summary

Summary

In this chapter, you learned about Jupyter notebooks. You learned what a Jupyter notebook is and why Jupyter notebooks are useful for problem solvers. This chapter showed how to install Jupyter notebooks on Windows, MacOS, and Linux. Some specific operations with Jupiter notebooks were introduced:

  • how to open a Jupyter Notebook
  • how to rename a Jupyter Notebook
  • how to write Python code in a Jupyter notebook code cells
  • how to run Python code in a Jupyter notebook code cell
  • how to write text in Jupyter notebook markdown cells
  • how to use markdown syntax to produce formatted text, headings, lists, and tables
  • how to save a Jupyter notebook
  • how to download a Jupyter notebook as different file types

You also learned about special "magic" commands that can be used in a Jupyter notebook. The final section of the chapter detailed a couple of ways to get help when working with Jupyter notebooks.

Key Terms and Concepts

Jupyter

notebook

Jupyter notebook

kernel

iPython

IDE

text editor

markdown

execute

Anaconda Prompt

file browser

code cell

markdown cell

code block

inline code block

pipe character

hyperlink

LaTeX

HTML tag

.ipynb-file

.py-file

.md-file

magic commands

Python Commands and Functions

Jupyter Notebook Magic Commands

Command Description
%matplotlib inline Display plots in output cells
%run file.py Runs file.py and displays output
%pwd Prints the working directory file path
%ls List contents of the current working directory
%precision sets float point precision for pretty printing
%whos lists variables and types in the running kernel session
function? Display help on a function
function?? Display source code of a function