Jimmy Allen 1 månad sedan
förälder
incheckning
52814211a8
7 ändrade filer med 97 tillägg och 19 borttagningar
  1. 34 0
      00.index.ipynb
  2. 7 16
      01.intro.ipynb
  3. 6 3
      02.hello-world.ipynb
  4. 40 0
      05.input.ipynb
  5. 6 0
      10.ipynb
  6. 3 0
      README.md
  7. 1 0
      run.sh

+ 34 - 0
00.index.ipynb

@@ -0,0 +1,34 @@
1
+{
2
+ "cells": [
3
+  {
4
+   "cell_type": "markdown",
5
+   "metadata": {},
6
+   "source": [
7
+    "# Index\n",
8
+    "- [Introduction](http://localhost:8888/notebooks/01.intro.ipynb)\n",
9
+    "- [Hello World](http://localhost:8888/notebooks/02.Hello-World.ipynb)"
10
+   ]
11
+  }
12
+ ],
13
+ "metadata": {
14
+  "kernelspec": {
15
+   "display_name": "Python 3",
16
+   "language": "python",
17
+   "name": "python3"
18
+  },
19
+  "language_info": {
20
+   "codemirror_mode": {
21
+    "name": "ipython",
22
+    "version": 3
23
+   },
24
+   "file_extension": ".py",
25
+   "mimetype": "text/x-python",
26
+   "name": "python",
27
+   "nbconvert_exporter": "python",
28
+   "pygments_lexer": "ipython3",
29
+   "version": "3.6.6"
30
+  }
31
+ },
32
+ "nbformat": 4,
33
+ "nbformat_minor": 2
34
+}

+ 7 - 16
01.intro.ipynb

@@ -12,20 +12,11 @@
12 12
    "metadata": {},
13 13
    "source": [
14 14
     "Welcome to an introduction to Python.  \n",
15
-    "The aim of this course is to give a basic understanding of Python."
16
-   ]
17
-  },
18
-  {
19
-   "cell_type": "markdown",
20
-   "metadata": {},
21
-   "source": [
22
-    "During this course we are going to use jupyter. Jupyter allows you to interactively run python code."
23
-   ]
24
-  },
25
-  {
26
-   "cell_type": "markdown",
27
-   "metadata": {},
28
-   "source": [
15
+    "\n",
16
+    "The aim of this course is to give a basic understanding of Python.  \n",
17
+    "\n",
18
+    "During this course we are going to use jupyter. Jupyter allows you to interactively run python code.  \n",
19
+    "\n",
29 20
     "It is recomended that you follow the ```User Interface Tour``` in the ```Help``` menu."
30 21
    ]
31 22
   },
@@ -33,7 +24,7 @@
33 24
    "cell_type": "markdown",
34 25
    "metadata": {},
35 26
    "source": [
36
-    "<a style=\"float:right;margin-right:10em;\" href=\"http://localhost:8888/notebooks/02.Hello-World.ipynb\">Next Hello World</a>"
27
+    "<a style=\"float:right\" href=\"http://localhost:8888/notebooks/02.Hello-World.ipynb\">Next Hello World</a>"
37 28
    ]
38 29
   }
39 30
  ],
@@ -53,7 +44,7 @@
53 44
    "name": "python",
54 45
    "nbconvert_exporter": "python",
55 46
    "pygments_lexer": "ipython3",
56
-   "version": "3.7.0"
47
+   "version": "3.6.6"
57 48
   }
58 49
  },
59 50
  "nbformat": 4,

+ 6 - 3
02.hello-world.ipynb

@@ -42,8 +42,11 @@
42 42
    "cell_type": "markdown",
43 43
    "metadata": {},
44 44
    "source": [
45
-    "<a href=\"http://localhost:8888/notebooks/01.intro.ipynb\">Previous intro</a> \n",
46
-    "<a style=\"float:right;margin-right:10em;\" href=\"http://localhost:8888/notebooks/03.maths.ipynb\">Next maths</a> "
45
+    "<a href=\"http://localhost:8888/notebooks/01.intro.ipynb\">Previous Intro  </a> \n",
46
+    "&nbsp;\n",
47
+    "<a href=\"http://localhost:8888/notebooks/00.index.ipynb\">Index</a>\n",
48
+    "&nbsp;\n",
49
+    "<a style=\"\" href=\"http://localhost:8888/notebooks/03.maths.ipynb\">Next Maths</a> "
47 50
    ]
48 51
   }
49 52
  ],
@@ -63,7 +66,7 @@
63 66
    "name": "python",
64 67
    "nbconvert_exporter": "python",
65 68
    "pygments_lexer": "ipython3",
66
-   "version": "3.7.0"
69
+   "version": "3.6.6"
67 70
   }
68 71
  },
69 72
  "nbformat": 4,

+ 40 - 0
05.input.ipynb

@@ -0,0 +1,40 @@
1
+{
2
+ "cells": [
3
+  {
4
+   "cell_type": "markdown",
5
+   "metadata": {},
6
+   "source": [
7
+    "# Inputing data"
8
+   ]
9
+  },
10
+  {
11
+   "cell_type": "markdown",
12
+   "metadata": {},
13
+   "source": [
14
+    "<a href=\"http://localhost:8888/notebooks/04.variables.ipynb\">Previous variables</a> \n",
15
+    "<a style=\"float:right;margin-right:10em;\" href=\"http://localhost:8888/notebooks/06.if-statements.ipynb\">Next if statements</a> "
16
+   ]
17
+  }
18
+ ],
19
+ "metadata": {
20
+  "kernelspec": {
21
+   "display_name": "Python 3",
22
+   "language": "python",
23
+   "name": "python3"
24
+  },
25
+  "language_info": {
26
+   "codemirror_mode": {
27
+    "name": "ipython",
28
+    "version": 3
29
+   },
30
+   "file_extension": ".py",
31
+   "mimetype": "text/x-python",
32
+   "name": "python",
33
+   "nbconvert_exporter": "python",
34
+   "pygments_lexer": "ipython3",
35
+   "version": "3.7.0"
36
+  }
37
+ },
38
+ "nbformat": 4,
39
+ "nbformat_minor": 2
40
+}

+ 6 - 0
10.ipynb

@@ -0,0 +1,6 @@
1
+{
2
+ "cells": [],
3
+ "metadata": {},
4
+ "nbformat": 4,
5
+ "nbformat_minor": 2
6
+}

+ 3 - 0
README.md

@@ -22,6 +22,9 @@ Full instructions can be found here: http://jupyter.org/install
22 22
 
23 23
 https://git.1248.nz/python/Introduction/archive/master.zip
24 24
 
25
+#### With [Git](https://git-scm.com/downloads)
26
+``` git clone https://git.1248.nz/python/Introduction.git```
27
+
25 28
 ## Run Jupyter
26 29
 
27 30
 You can either use the ```run.bat``` for Windows or ```run.sh``` for Linux/Mac.  

+ 1 - 0
run.sh

@@ -1 +1,2 @@
1
+#!/bin/sh
1 2
 jupyter notebook --NotebookApp.token=''