Skip to content

Commit 97fcb42

Browse files
committed
Sample code for the Complex Numbers tutorial
1 parent 2e4bfaa commit 97fcb42

File tree

4 files changed

+860
-0
lines changed

4 files changed

+860
-0
lines changed

complex-numbers/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Complex Numbers in Python
2+
3+
## Installation
4+
5+
Create and activate a virtual environment:
6+
7+
```shell
8+
$ python -m venv venv
9+
$ source venv/bin/activate
10+
```
11+
12+
Install dependencies into your active environment:
13+
14+
```python
15+
(venv)$ python -m pip install -U pip jupyterlab ipywidgets matplotlib pillow
16+
(venv)$ python -m jupyter labextension install @jupyter-widgets/jupyterlab-manager
17+
```
18+
19+
## Running
20+
21+
Start Jupter Lab in the same directory where the examples are located:
22+
23+
```shell
24+
(venv)$ python -m jupyterlab
25+
```

0 commit comments

Comments
 (0)