0.2 Using Jupyter Notebooks

Setting Up a Notebook

Jupyter Notebooks are instructive ways to write Python scripts. Jupyter creates iPython notebooks that can be locally run on a browser. Start using jupyter notebook It should redirect to the directory where you can create a new Python file and start scripting!

Code Cells and Markdown Cells

A typical iPython file contains two types of cells -- code cells and markdown cells. You can switch to a code cell using Y and switch to a markdown cell using M.

Use markdown cells to make the code readable. Markdown supports LaTeX style equations using the MathJax plugin. Use the code cells to populate scripts. Make sure to use as many cells as preferred to make the code readable.

Last updated

Was this helpful?