Skip to content

Commit ad22b5e

Browse files
committed
more testing
1 parent 70cbc9d commit ad22b5e

3 files changed

Lines changed: 281 additions & 2 deletions

File tree

notebook1_basics_plotting/py_exploratory_comp_1_sol.ipynb

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,26 @@
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": null,
32+
"execution_count": 1,
3333
"metadata": {
3434
"editable": true,
3535
"slideshow": {
3636
"slide_type": ""
3737
},
3838
"tags": []
3939
},
40-
"outputs": [],
40+
"outputs": [
41+
{
42+
"data": {
43+
"text/plain": [
44+
"12"
45+
]
46+
},
47+
"execution_count": 1,
48+
"metadata": {},
49+
"output_type": "execute_result"
50+
}
51+
],
4152
"source": [
4253
"6 * 2"
4354
]
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {
6+
"editable": true,
7+
"slideshow": {
8+
"slide_type": ""
9+
},
10+
"tags": []
11+
},
12+
"source": [
13+
"<figure>\n",
14+
" <IMG SRC=\"https://raw.githubusercontent.com/mbakker7/exploratory_computing_with_python/master/tudelft_logo.png\" WIDTH=250 ALIGN=\"right\">\n",
15+
"</figure>\n",
16+
"\n",
17+
"# Exploratory Computing with Python\n",
18+
"*Developed by Mark Bakker*"
19+
]
20+
},
21+
{
22+
"cell_type": "markdown",
23+
"metadata": {
24+
"editable": true,
25+
"slideshow": {
26+
"slide_type": ""
27+
},
28+
"tags": []
29+
},
30+
"source": [
31+
"## Notebook 1: Basics and Plotting\n",
32+
"### First Python steps\n",
33+
"\"Portable, powerful, and a breeze to use\", Python is a popular, open-source programming language used for both scripting applications and standalone programs (see \"Learning Python\" by Mark Lutz). Python can be used to do pretty much anything. For example, you can use Python as a calculator. Position your cursor in the code cell below and hit [shift][enter]. The output should be 12 (-:"
34+
]
35+
},
36+
{
37+
"cell_type": "code",
38+
"execution_count": null,
39+
"metadata": {
40+
"editable": true,
41+
"slideshow": {
42+
"slide_type": ""
43+
},
44+
"tags": []
45+
},
46+
"outputs": [],
47+
"source": [
48+
"6 * 2"
49+
]
50+
}
51+
],
52+
"metadata": {
53+
"anaconda-cloud": {},
54+
"kernelspec": {
55+
"display_name": "Python 3 (ipykernel)",
56+
"language": "python",
57+
"name": "python3"
58+
},
59+
"language_info": {
60+
"codemirror_mode": {
61+
"name": "ipython",
62+
"version": 3
63+
},
64+
"file_extension": ".py",
65+
"mimetype": "text/x-python",
66+
"name": "python",
67+
"nbconvert_exporter": "python",
68+
"pygments_lexer": "ipython3",
69+
"version": "3.13.7"
70+
},
71+
"latex_envs": {
72+
"LaTeX_envs_menu_present": true,
73+
"autoclose": false,
74+
"autocomplete": true,
75+
"bibliofile": "biblio.bib",
76+
"cite_by": "apalike",
77+
"current_citInitial": 1,
78+
"eqLabelWithNumbers": true,
79+
"eqNumInitial": 1,
80+
"hotkeys": {
81+
"equation": "Ctrl-E",
82+
"itemize": "Ctrl-I"
83+
},
84+
"labels_anchors": false,
85+
"latex_user_defs": false,
86+
"report_style_numbering": false,
87+
"user_envs_cfg": false
88+
},
89+
"varInspector": {
90+
"cols": {
91+
"lenName": 16,
92+
"lenType": 16,
93+
"lenVar": 40
94+
},
95+
"kernels_config": {
96+
"python": {
97+
"delete_cmd_postfix": "",
98+
"delete_cmd_prefix": "del ",
99+
"library": "var_list.py",
100+
"varRefreshCmd": "print(var_dic_list())"
101+
},
102+
"r": {
103+
"delete_cmd_postfix": ") ",
104+
"delete_cmd_prefix": "rm(",
105+
"library": "var_list.r",
106+
"varRefreshCmd": "cat(var_dic_list()) "
107+
}
108+
},
109+
"types_to_exclude": [
110+
"module",
111+
"function",
112+
"builtin_function_or_method",
113+
"instance",
114+
"_Feature"
115+
],
116+
"window_display": false
117+
},
118+
"widgets": {
119+
"state": {},
120+
"version": "1.1.2"
121+
}
122+
},
123+
"nbformat": 4,
124+
"nbformat_minor": 4
125+
}
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {
6+
"editable": true,
7+
"slideshow": {
8+
"slide_type": ""
9+
},
10+
"tags": []
11+
},
12+
"source": [
13+
"<figure>\n",
14+
" <IMG SRC=\"https://raw.githubusercontent.com/mbakker7/exploratory_computing_with_python/master/tudelft_logo.png\" WIDTH=250 ALIGN=\"right\">\n",
15+
"</figure>\n",
16+
"\n",
17+
"# Exploratory Computing with Python\n",
18+
"*Developed by Mark Bakker*"
19+
]
20+
},
21+
{
22+
"cell_type": "markdown",
23+
"metadata": {
24+
"editable": true,
25+
"slideshow": {
26+
"slide_type": ""
27+
},
28+
"tags": []
29+
},
30+
"source": [
31+
"## Notebook 1: Basics and Plotting\n",
32+
"### First Python steps\n",
33+
"\"Portable, powerful, and a breeze to use\", Python is a popular, open-source programming language used for both scripting applications and standalone programs (see \"Learning Python\" by Mark Lutz). Python can be used to do pretty much anything. For example, you can use Python as a calculator. Position your cursor in the code cell below and hit [shift][enter]. The output should be 12 (-:"
34+
]
35+
},
36+
{
37+
"cell_type": "code",
38+
"execution_count": 1,
39+
"metadata": {},
40+
"outputs": [
41+
{
42+
"data": {
43+
"text/plain": [
44+
"12"
45+
]
46+
},
47+
"execution_count": 1,
48+
"metadata": {},
49+
"output_type": "execute_result"
50+
}
51+
],
52+
"source": [
53+
"6 * 2"
54+
]
55+
},
56+
{
57+
"cell_type": "code",
58+
"execution_count": null,
59+
"metadata": {
60+
"editable": true,
61+
"slideshow": {
62+
"slide_type": ""
63+
},
64+
"tags": []
65+
},
66+
"outputs": [],
67+
"source": []
68+
}
69+
],
70+
"metadata": {
71+
"anaconda-cloud": {},
72+
"kernelspec": {
73+
"display_name": "Python 3 (ipykernel)",
74+
"language": "python",
75+
"name": "python3"
76+
},
77+
"language_info": {
78+
"codemirror_mode": {
79+
"name": "ipython",
80+
"version": 3
81+
},
82+
"file_extension": ".py",
83+
"mimetype": "text/x-python",
84+
"name": "python",
85+
"nbconvert_exporter": "python",
86+
"pygments_lexer": "ipython3",
87+
"version": "3.13.7"
88+
},
89+
"latex_envs": {
90+
"LaTeX_envs_menu_present": true,
91+
"autoclose": false,
92+
"autocomplete": true,
93+
"bibliofile": "biblio.bib",
94+
"cite_by": "apalike",
95+
"current_citInitial": 1,
96+
"eqLabelWithNumbers": true,
97+
"eqNumInitial": 1,
98+
"hotkeys": {
99+
"equation": "Ctrl-E",
100+
"itemize": "Ctrl-I"
101+
},
102+
"labels_anchors": false,
103+
"latex_user_defs": false,
104+
"report_style_numbering": false,
105+
"user_envs_cfg": false
106+
},
107+
"varInspector": {
108+
"cols": {
109+
"lenName": 16,
110+
"lenType": 16,
111+
"lenVar": 40
112+
},
113+
"kernels_config": {
114+
"python": {
115+
"delete_cmd_postfix": "",
116+
"delete_cmd_prefix": "del ",
117+
"library": "var_list.py",
118+
"varRefreshCmd": "print(var_dic_list())"
119+
},
120+
"r": {
121+
"delete_cmd_postfix": ") ",
122+
"delete_cmd_prefix": "rm(",
123+
"library": "var_list.r",
124+
"varRefreshCmd": "cat(var_dic_list()) "
125+
}
126+
},
127+
"types_to_exclude": [
128+
"module",
129+
"function",
130+
"builtin_function_or_method",
131+
"instance",
132+
"_Feature"
133+
],
134+
"window_display": false
135+
},
136+
"widgets": {
137+
"state": {},
138+
"version": "1.1.2"
139+
}
140+
},
141+
"nbformat": 4,
142+
"nbformat_minor": 4
143+
}

0 commit comments

Comments
 (0)