Skip to content

Commit c434c95

Browse files
committed
Update python intro notebooks
1 parent 7111d28 commit c434c95

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

notebooks/python_intro/00-jupyterlab.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"<p><font size=\"6\"><b>Jupyter notebook introduction </b></font></p>\n",
88
"\n",
9-
"> *© 2024, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
9+
"> *© 2025, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
1010
"\n",
1111
"-----\n",
1212
"\n",
@@ -329,7 +329,7 @@
329329
"name": "python",
330330
"nbconvert_exporter": "python",
331331
"pygments_lexer": "ipython3",
332-
"version": "3.11.10"
332+
"version": "3.12.8"
333333
},
334334
"nav_menu": {},
335335
"toc": {

notebooks/python_intro/01-variables.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"source": [
1212
"# Variables and assignment\n",
1313
"\n",
14-
"> *© 2024, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
14+
"> *© 2025, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
1515
"\n",
1616
"---\n",
1717
"\n",
@@ -765,6 +765,13 @@
765765
"source": [
766766
"# %load _solutions/01-variables8.py"
767767
]
768+
},
769+
{
770+
"cell_type": "code",
771+
"execution_count": null,
772+
"metadata": {},
773+
"outputs": [],
774+
"source": []
768775
}
769776
],
770777
"metadata": {
@@ -789,7 +796,7 @@
789796
"name": "python",
790797
"nbconvert_exporter": "python",
791798
"pygments_lexer": "ipython3",
792-
"version": "3.8.16"
799+
"version": "3.12.8"
793800
},
794801
"nav_menu": {},
795802
"toc": {

notebooks/python_intro/02-functions-use.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"source": [
1212
"# Using Functions\n",
1313
"\n",
14-
"> *© 2024, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
14+
"> *© 2025, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
1515
"\n",
1616
"---\n",
1717
"\n",
@@ -823,7 +823,7 @@
823823
"name": "python",
824824
"nbconvert_exporter": "python",
825825
"pygments_lexer": "ipython3",
826-
"version": "3.8.16"
826+
"version": "3.12.8"
827827
},
828828
"nav_menu": {},
829829
"toc": {

notebooks/python_intro/03-containers.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"source": [
1212
"# Containers and slicing\n",
1313
"\n",
14-
"> *© 2024, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
14+
"> *© 2025, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
1515
"\n",
1616
"------\n",
1717
"\n",
@@ -1752,7 +1752,7 @@
17521752
"name": "python",
17531753
"nbconvert_exporter": "python",
17541754
"pygments_lexer": "ipython3",
1755-
"version": "3.8.16"
1755+
"version": "3.12.8"
17561756
},
17571757
"nav_menu": {},
17581758
"toc": {

notebooks/python_intro/04-control-flow.ipynb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# Control flow\n",
99
"\n",
10-
"> *© 2024, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
10+
"> *© 2025, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
1111
"\n",
1212
"---\n",
1313
"\n",
@@ -853,6 +853,9 @@
853853
"metadata": {},
854854
"outputs": [],
855855
"source": [
856+
"a = 0.43\n",
857+
"r = 1.35\n",
858+
"\n",
856859
"[a + conductivity*r for conductivity in conductivities]"
857860
]
858861
},
@@ -1005,7 +1008,7 @@
10051008
"name": "python",
10061009
"nbconvert_exporter": "python",
10071010
"pygments_lexer": "ipython3",
1008-
"version": "3.8.16"
1011+
"version": "3.12.8"
10091012
},
10101013
"toc-showcode": false
10111014
},

notebooks/python_intro/05-functions-write.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"source": [
1212
"# Writing Functions\n",
1313
"\n",
14-
"> *© 2021, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
14+
"> *© 2025, Joris Van den Bossche and Stijn Van Hoey (<mailto:jorisvandenbossche@gmail.com>, <mailto:stijnvanhoey@gmail.com>). Licensed under [CC BY 4.0 Creative Commons](http://creativecommons.org/licenses/by/4.0/)*\n",
1515
"\n",
1616
"---\n",
1717
"\n",
@@ -614,7 +614,7 @@
614614
"name": "python",
615615
"nbconvert_exporter": "python",
616616
"pygments_lexer": "ipython3",
617-
"version": "3.8.16"
617+
"version": "3.12.8"
618618
},
619619
"nav_menu": {},
620620
"toc": {

0 commit comments

Comments
 (0)