# How to start using Jupyter Notebooks

# Setup
## Python Installation
If Python is not installed on your computer, the **Anaconda Distribution** is available for installation **[here](https://www.anaconda.com/products/individual)**.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641664137441/Y8XU-ubqk.png)

## Visual Studio Code Installation
Visual Studio Code is available for installation **[here](https://code.visualstudio.com/)**.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641664118734/IK2CZvRBs.png)

## Python VS Code Extension
Open the extensions tab and search for 
```
 ms-python.python
```
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641663807100/xtosXgeWo.png)
# Getting Started
## File
Create a file with the `.ipynb` extension using the *New File* button.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641666328070/Qx0CYrC8s.png)
## Kernel
Select the desired python installation using the Select Kernel button.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1641666455203/mPsRTElFK.png)
## Keyboard shortcuts
### Edit Mode
Edit Mode allows for typing text into the current cell.
- If in Command Mode -> `Enter`
### Command Mode
Command Mode allows for the creation, movement, and transformation of cells.
- If in edit mode -> `Esc`

Syntax|Usage
-|-
`a`|Add cell above
`b`|Add cell below
`⬆`,`k`|Move up one cell
`⬇`,`j`|Move up one cell
`y`|Convert cell to code
`m`|Convert cell to markdown


### Running Code
- If Markdown cell -> Renders
- If Code cell -> Executes

Syntax|Usage
-|-
`Ctrl`+`Enter`|Run current cell
`Shift`+`Enter`|Run current cell and move to next cell

#### Markdown
```md
# This is a Header
This is **bold** and *italic* text.
```
Will get rendered as 

---
# This is a Header
This is **bold** and *italic* text.

---


#### Python
```py
x = 5
y = 6
x*y
```
Will be rendered as

---

**30**

---



