"* Launch a terminal and execute 'conda install jupyter'"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 2. Notebooks in a nutshell"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 2.1 Launching jupyter"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"1. Launch a terminal from the directory you have your notebook (file extension .ipynb) or you want to create your notebook\n",
"1. Write (without '') 'jupyter notebook' and press click"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In case you have not installed the environment, you can run Jupyter here https://try.jupyter.org/"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 2.2 Running notebooks"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can create, open or save notebooks from the menu File."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Notebooks have two main types of cells: code (executable) and text (called 'markdown'). You can change the type of a cell in the toolbar. A detailed user manual of Jupyter can be found here: \n",
"* click on the 'run cell' button of the toolbar, or \n",
"* select the Cell-Run menu item"
]
},
{
"cell_type": "markdown",
"metadata": {
"collapsed": true
},
"source": [
"Example: we use Jupyter as a calculator, let's execute 2+2"
]
},
{
"cell_type": "raw",
"metadata": {},
"source": [
"2+2"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's try: write 2+2 in the cell below and execute the cell"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Licence"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The notebook is freely licensed under under the [Creative Commons Attribution Share-Alike license](https://creativecommons.org/licenses/by/2.0/). \n",